maps.  (OK, this isn't really a bug fix.)  (gdevpx.c)
	- The forwarding implementation of get_page_device didn't do the
right thing.  (gdevnfwd.c)
	- The x11alpha device didn't implement get_params properly, leading
to anomalous behavior.  (gdevxalt.c)
	- The PDF writer produced incorrect Count values for outlines: the
count only counted descendant leaves, omitting intermediate nodes.
(gdevpdfm.c)

Removes an assumption that images have at most 4 components.  (gdevpdfi.c)

Adds an x11gray2 device, primarily for debugging.  (devs.mak, gdevxalt.c)

Updates the unified printer driver with a newer version.  (uninfo.ps,
gdevupd.c, *.upp)

</pre><h3><a name="V4.80_Platforms"></a>Platforms</h3><pre>

Adds the P*M devices and the X11 devices (commented out) to the OS/2
makefile.  (os2.mak)

Updates the MS Windows platform to be compatible with Microsoft Visual C++
(as well as Watcom and Borland compilers).  (gsdll32.def, gdevmswn.h,
gp_mswin.h, gsdll.h, dwimg.cpp, dwmain.cpp, dwmainc.cpp, dwtext.cpp,
gdevwdib.c, gdevwprn.c, gdevwpr2.c, gp_mswin.c, gsdll.c)

</pre><h3><a name="V4.80_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- Certain synthetic fonts incorrectly were loaded into local rather
than global VM.  (These fonts are not part of the standard distribution.)
(gs_fonts.ps, gs_pfile.ps, *ss*.ps)

</pre><h3><a name="V4.80_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The FAKEFONTS scan could leave junk on the stack.  (gs_fonts.ps)
	- Dynamically loading known encodings on demand left junk on the
stack, causing a typecheck error.  (gs_res.ps)
	- Some 'static' declarations were missing (gcc lossage).  (iname.c)
	- Some internal operators didn't have names, leading to unhelpful
error printout.  (zfileio.c)
	- The resource "operators" didn't always restore the stacks properly
on an error.  (gs_res.ps)
	- The CID font code left a garbage value on the stack during
loading.  (gs_cidfn.ps)
	- The defineresource implementation for built-in resources like
FMapType didn't leave the resource "value" on the stack.  (gs_res.ps)
	- If an operator defined by a procedure was bound into a packed
procedure, the stack-protection feature wasn't effective.  (interp.c)
	- findfont didn't restore the stack if it failed.  (gs_res.ps)
	- The showpage count passed to the BeginPage and EndPage procedures
was incremented only if a page was printed, rather than for every invocation
of showpage.  (gs_init.ps, zdevice2.c)
	- The default EndPage procedures didn't pop their page count operand
from the stack.  (gs_init.ps, gs_setpd.ps)
	- If the argument of findfont wasn't a name or a string, and no font
with that key had been registered, an error occurred.  (gs_fonts.ps,
gs_res.ps)

Updates most of the remaining pseudo-operators to take advantage of stack
protection.  (gs_btokn.ps, gs_cmap.ps, gs_dps1.ps, gs_dps2.ps, gs_fonts.ps,
gs_lev2.ps, gs_pdfwr.ps)

Splits the image operators into a separate file from the path painting
operators.  (This should have been done a long time ago.)  (iimage.h,
zimage.c, zpaint.c)

Adds more of the implementation of the NeXT alpha and compositing
operations, under an #ifdef DPNEXT.  (iimage.h, zcolor1.c, zdpnext.c,
zimage.c)

Adds more of the implementation of DPS contexts.  These are still not
usable.  (icontext.h, icontext.c, zcontext.c, zmath.c)

Changes the help message to describe -dBATCH instead of -c quit.
(imainarg.c)

Recognizes the dictionary argument for the eexecDecode filter.  (zmisc1.c)

</pre><h3><a name="V4.80_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The tracing message when starting to decode 1-D fax data reported
the run_color incorrectly.  (scfd.c)
	- In the CCITTFaxDecode filter, if a buffer boundary fell between a
makeup code and a final zero-length termination code, an ioerror could
occur.  (scfd.c)
	- Per Adobe, in the CCITTFaxDecode filter, EndOfBlock = true should
cause Rows to be ignored.  (scfd.c)
	- If an output stream returned EOFC, an infinite loop might result.
This problem (and the fix) are in the same fragile code as the EOD fix in
4.74, and we may again have introduced a new bug.  (stream.c)

Changes the eexecDecode filter so that instead of a number, it can take a
dictionary with two keys, seed and lenIV.  (Having eexecDecode skip initial
bytes at all was a design bug that is too late to fix.)  (sfilter.h,
seexec.c)

</pre><h3><a name="V4.80_Library"></a>Library</h3><pre>

Fixes bugs:
	- The default mapping from RGB+alpha to RGB didn't lighten
(premultiply) the color according to the alpha value.  (gxcmap.c)
	- The angle error metric for rational tangent screen parameters
should be simply the difference in angle, not a ratio.  (gshtscr.c)
	- gs_setcolorscreen and gs_sethalftone didn't initialize an
allocator pointer, leading to memory access errors.  (gsht1.c)
	- If a banded image was clipped, an invalid band list could be
produced.  (gxclimag.c)
	- A picky compiler wouldn't allow an enum to be &amp;&amp;'ed with a
boolean.  (gschar.c)
	- A short-sighted compiler didn't allow the use of actual procedure
names (as opposed to procedure variables) in a conditional expression.
(gxfill.c)
	- A compiler objected to a name longer than 31 characters.  (gzht.h,
gsht.c, gxclread.c)
	- The height computations for banded images were not consistent,
possibly leading to invalid band lists.  (gxclimag.c)
	- copypage didn't reset the band writer and band reader bookkeeping
consistently, leading to incorrect output and possible errors.  (gxcldev.h,
gxclist.c, gxclread.c)
	- When banding, changing the halftone could lead to accessing memory
after freeing it.  (gxclread.c)
	- When using disk files for band storage, showpage didn't actually
delete or truncate the band list file, possibly causing subsequent copypage
operations to become confused.  (gxclfile.c)
	- When banding, having more than one image operator in progress at a
time confused the rasterizing pass and could produce arbitrary errors.  From
PostScript, this can only happen in the case of an image whose data source
was a procedure-based stream that itself invoked an image operator: this is
a senseless and perverse thing to do, but it shouldn't break the code (and a
Genoa CET file actually does it).  (gxclist.h, gxclimag.c, gxclist.c)
	- Some picky compilers objected to negating unsigned values.
(gsuid.h, gsht.c, gsmemory.c, gxpcopy.c)
	- When banding, if a 90- or 270-degree rotated monobit image was
clipped, invalid memory accesses could occur.  (gximage.h, gximage1.c)
	- The showpage count passed to the BeginPage and EndPage procedures
was incremented only if a page was printed, rather than for every invocation
of showpage.  Fixing this requires removing the incrementing of the count
from the library level altogether.  (gsdevice.c)
	- When rendering a subrectangle of an image, the X DDA was
initialized incorrectly, causing possible errors.  We think this only
affected certain banded images.  (gxdda.h)

Adds a provision for images with an alpha component, under an #ifdef DPNEXT.
****** THE BANDING CODE HAS NOT BEEN UPDATED YET. ******  (gsiparam.h,
gxcmap.h, gxdither.h, gximage.h, gsimage.c, gxclimag.c, gxclread.c,
gxcmap.c, gximage.c, gximage3.c, gximage4.c ****** NOT DONE YET ******,
gximage5.c)

Adds a return_if_error macro to capture the common idiom of making a call
and then returning its value if that value is negative (error).  (gserror.h)

</pre>

<hr>

<h2><a name="Version4.74"></a>Version 4.74 (limited) (5/5/97)</h2>

<p>
This fileset is supposed to fix all remaining errors reported by the Genoa
CET, and is intended to be the last incremental test fileset before the 5.0
release.

<h3><a name="V4.74_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Mark procedures are *not* executed in the normal return case.
(estack.h)
	- The line_params element of a gs_imager_state is *not* allocated
separately.  (gsstate.c)
	- The value passed to the PDF writer for text is a dictionary, not
an array.  (gdevpdft.c)

Improves the documentation of gstate memory management.  (gsstate.c)

Documents end_status = EOFC for writing streams.  (stream.h, strimpl.h)

Clarifies memory management for halftones and device halftones.  (gsht1.h,
gxdht.h, gxht.h, gzht.h)

Removes the "experimental" tag from the PostScript and EPS writers.
(devs.mak)

</pre><h3><a name="V4.74_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- The viewpcx utility scaled images improperly.  (viewpcx.ps)
	- If a PDF file used F instead of f for filling a path, pdf2ps
didn't output the fill operation.  (pdf_base.ps)

Changes the ps2pdf script so that, like pdf2ps, it allows debugging
switches.  (ps2pdf)

</pre><h3><a name="V4.74_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The vgalib driver didn't clip monobit images properly.
(gdevvglb.c)
	- The X driver asked for exposure events to be reported, but never
read them, causing the event queue to grow indefinitely.  (gdevxini.c)
	- The "vector" drivers and the PDF writer didn't properly keep track
of whether the current clipping region was the default one.  (gs_pdfwr.ps,
gdevvec.h, gdevvec.c, gdevpdf.c, gdevpdft.c)
	- The PDF writer had word and character spacing interchanged.
(gdevpdft.c)
	- The PDF writer scaled word and character spacing incorrectly.
(gdevpdft.c)

</pre><h3><a name="V4.74_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The user object operators didn't leave the stack in a clean state
if they failed.  (gs_dps2.ps)
	- UserObjects wasn't actually defined.  (gs_dps2.ps)
	- deviceinfo and set/currenthalftonephase were defined even if the
dps feature wasn't selected.  (int.mak, gs_dps.ps, gs_dps1.ps, gs_lev2.ps,
zdps.c, zdps1.c)
	- The dps feature didn't automatically include the level2 feature,
which it needs.  (int.mak)
	- The DPS user names mechanism didn't work, since the user names
array was subject to save and restore.  (It still doesn't really work --
there is no provision for expanding the user names array, which is created
with length 0.)  (gs_btokn.ps, ivmspace.h, zbseq.c, zdps.c)
	- The DPS context operators didn't do all the necessary error
checking.  (zcontext.c)
	- The debugging printout for names printed the name index in hex
without identifying it as such.  (idebug.c)
	- Adding the first non-name key (or name key with a name index
beyond 4K) to a dictionary that had any deleted entries could cause some
entries to apparently disappear.  (idict.c)
	- If a sub-table of the name table was freed during garbage
collection, memory could be left in an inconsistent state.  (iname.c, igc.c)
	- findfont didn't restore the stacks reliably if an error occurred.
(gs_fonts.ps)
	- definefont with an invalid Type 0 font sometimes added a FID entry
(with a dangling pointer) if it failed.  (Recovering properly from a VMerror
during font creation would require a much more complicated fix than this,
but since we expect a garbage collection to occur in that case, we aren't
concerned about it.)  (zfont0.c)
	- Reading parameter values from a dictionary could access beyond the
end of the array that keeps track of which entries had been referenced.
(idict.h, idict.c, iparam.c)
	- Halftone data was allocated in the current VM rather than in the
same VM as the halftone dictionary or procedure.  (Fixing this includes
updating code as necessary for the change in halftone and device halftone
allocation.)  (iht.h, ivmspace.h, zht.c, zht1.c, zht2.c)
	- Closed non-executable files on the e-stack could cause a restore
to be invalid.  (zvmem.c)

Adds skeleton code for the NeXT Display PostScript alpha and compositing
operators.  This is not ready for use yet!  (errors.h, gs_dpnxt.ps,
zdpsnext.c)

Implements more of state saving and restoring for Display PostScript
contexts.  This is not ready for use yet either.  (int.mak, icontext.h,
istack.h, icontext.c, zcontext.c)

Adds stub code for the Display PostScript view clip operators.  (gs_dps.ps,
zdps.c)

Removes the obsolete PPM-writing operator.  (int.mak, vms.mak, *.mak,
zwppm.c)

Makes the random number generator state public so it can be stored in the
context state.  (zmath.c)

Changes the flag for forcing global garbage collection to a run-time
variable, for debugging.  (igc.c)

Changes the handling of job control so that it doesn't use procedures that
produce an execstackoverflow when being printed.  (gs_init.ps)

Updates code as necessary for the change in reference counting.  (zcie.c,
zcrd.c)

Updates code as necessary for the change in off-stack gstate copying.
(zdps1.c)

Removes a small bit of obsolete code.  (interp.c)

</pre><h3><a name="V4.74_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- An output stream that was not the last one in a pipeline could
incorrectly be asked to write its EOD marker more than once.  (The fix is
very fragile and may have introduced new bugs.)  (stream.c)

</pre><h3><a name="V4.74_Library"></a>Library</h3><pre>

Fixes bugs:
	- The gx_device_halftone_release procedure was declared in two
different header files.  (gzht.h)
	- Off-stack copying of gstates could lead to a situation where
different parts of a single gstate were owned by different allocators; this
could cause them to be freed improperly, corrupting memory.  We fixed this
partly by making the mixed ownership situation work, and partly by copying
more of the gstate when off-stack gstates are involved.  Unfortunately, the
fixes are subtle and may have introduced new bugs.  (gsstate.h, gsht.c,
gsht1.c, gspcolor.c, gsstate.c)
	- If an error occurred while creating a Pattern instance, the
partially initialized instance structure wasn't freed.  (gspcolor.c)
	- Halftones and device halftones didn't allocate their clones or
their subsidiary structures with the correct allocator.  (gsht.c, gsht1.c)
	- The error statement when allocating a reference-counted object had
to be a control transfer.  (gsrefct.h)
	- Copying gstates incorrectly copied the memory and saved pointers,
and the pointer to the dash pattern.  (gsstate.c)
	- Flatness values less than 0.5 produced far more line segments than
necessary (roughly the square of the required number).  Fixing this may have
bad effects on character quality -- this remains to be seen.  (gxpflat.c)
	- An error during installation of a halftone could leave things in
an inconsistent state.  (gsht.c)
	- The API didn't provide enough flexibility with respect to memory
management for halftones, or guarantee consistent allocation of a halftone
and its subelements.  (gsht1.h, gsht.c, gsht1.c, gshtscr.c)
	- Releasing a path didn't clear enough pointers to ensure clean
garbage collection.  (gxpath.c)
	- Finalizing or discarding a (cached) scaled font didn't properly
unlink it from the scaled_fonts list.  (gsfont.c)
	- Invoking an image operator within the BuildChar procedure for a
charpath caused an infinite loop.  (gsimage.c)
	- The bookkeeping for the scaled font cache was incorrect: the count
didn't always get decremented when a scaled font was freed.  (gsfont.c)
	- "High level" masked images were written incorrectly in the band
list as black-and-white images.  (gxclimag.c)
	- For "high level" images with fewer than 4 samples per pixel,
non-standard Decode values were written incorrectly in the band list.
(gxclimag.c)
	- The color wasn't set correctly for "high level" masked images.
(gxclimag.c)
	- The fastest case of monobit image rendering could get a memory
access error if the image lay partly outside the page.  (gximage1.c)
	- Clipping with an empty path was a no-op, rather than clipping out
everything.  (gxcpath.c)

Makes reference-counted objects remember which allocator owns them: this
entails a NON-BACKWARD-COMPATIBLE change to some of the macros for reference
counting.  This was necessary to fix the off-stack gstate copying problem.
(gsrefct.h, gscie.c, gscolor.c, gscolor1.c, gscolor2.c, gscsepr.c,
gsstate.c, gxclread.c)

Refactors the unpacking of image data, to make unpacking available as a
general facility.  (gximage.h, gxsample.h, gximage.c, gximage0.c,
gximage1.c, gximage4.c, gxsample.c)

Enhances -Z? so that before freeing an object, it checks that the object was
owned by the correct allocator.  (gsalloc.c)

</pre>

<h2><a name="Version4.73"></a>Version 4.73 (limited) (4/19/97)</h2>

<p>
This is an incremental bug fix release made primarily to provide a
synchronization point for an upcoming trip.

<h3><a name="V4.73_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- A reference to the uniprint documentation was incorrect.
(current.txt)
	- -Olimit 1000 is not enough now for DEC Ultrix, 1200 is required;
this is also required for SGI IRIX.  (make.txt)

Adds argument/result comments to all the operators defined in gs_lev2.ps.
(Eventually we will do this for all operators defined as PostScript
procedures.)  (gs_lev2.ps)

</pre><h3><a name="V4.73_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The makefiles didn't provide a default value for GCONFIG_EXTRAS.
(gs.mak)

</pre><h3><a name="V4.73_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- pdf2ps didn't work with TrueType or compressed Type 1 fonts.
(gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)

</pre><h3><a name="V4.73_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A cast from byte to char was omitted.  (gdevpdfm.c)

</pre><h3><a name="V4.73_Platforms"></a>Platforms</h3><pre>

Updates the VMS script (again).  (vms.mak)

</pre><h3><a name="V4.73_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- A module that used strlen didn't include string_.h.  (zdevice.c)
	- Because of some bad PostScript code in FrameMaker output, identity
rather than unity black generation and undercolor removal functions are
required on black-and-white devices.  (gs_init.ps)
	- A harmless internal error during initialization left bogus
information in $error.  (gs_cidfn.ps)
	- startjob didn't clear the execution stack.  Fixing this required
NON-BACKWARD-COMPATIBLE changes to the internal operators .instopped, .stop,
and .stopped, which are not supposed to be used by any external code.
(startjob will still give errors if executed in a file that isn't being
piped from stdin; this will take longer to fix.)  (gs_init.ps, gs_lev2.ps,
iref.h, imain.c, interp.c, zcontrol.c, zfile.c)

Adds a new .execn operator, part of the startjob changes, that allows
pushing multiple items on the exec stack.  Eventually this will allow us to
get rid of many dynamically created closures.  (zcontrol.c)

</pre><h3><a name="V4.73_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Landscape-mode PDF files weren't rotated properly.  (gs_pdf.ps,
pdf_main.ps)

Makes the default PDF configuration notify users more informatively when
encountering an encrypted file.  (pdf_sec.ps)

</pre><h3><a name="V4.73_Streams"></a>Streams</h3><pre>

Makes the RunLengthEncode filter always generate optimally compressed
output.  We did this because we thought one of the Genoa CET files loops
forever if this is not the case; but we were wrong.  (srle.c)

</pre><h3><a name="V4.73_Library"></a>Library</h3><pre>

Fixes bugs:
	- If one coordinate of a position or distance overflowed the
internal representable range, the other coordinate became garbage.  (bug
introduced in 4.70) (gspath.c)
	- The bounding box computation for strokes was slightly too large
(sometimes much too large).  (gxpaint.h, gdevbbox.c, gxclpath.c, gxstroke.c)

Adds (under an #if 0) an experimental alternate halftone cell choice
algorithm.  (gshtscr.c)

Adds a better comment to a particularly obscure line of C code.
(gxclimag.c)

</pre>

<h2><a name="Version4.72"></a>Version 4.72 (limited) (4/14/97)</h2>

<p>
This is another bug fix release, motivated mostly by Genoa testing.  It also
updates the new uniprint driver with a major revision, and upgrades CFF
support a little bit.

<h3><a name="V4.72_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- -dNOGC only disables default automatic garbage collection, not all
garbage collection.  (use.txt)
	- Apparently a different set of flags is needed for newer H-P
compilers.  (make.txt)

Replaces the tiny FAQ with a pointer to the on-line FAQ.  (use.txt)

Updates the documentation for the uniprint driver.  (devices.txt)

Clarifies the fact that Ghostscript reads Fontmap files from *all*
directories in the search list.  (use.txt)

Notes that building on Linux may require SM and ICE in the list of X
libraries.  (make.txt)

</pre><h3><a name="V4.72_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- An -include type42 was omitted from the level2 module description.
(int.mak)
	- A mention of $(ECHOGS) in the rule for sfile should have been
$(ECHOGS_XE).  (lib.mak)
	- The pcx2up sample device should have been put in devs.mak rather
than lib.mak.  (devs.mak, lib.mak)
	- scanchar.h and scantab.c belong in the library, not the
interpreter.  (devs.mak, int.mak, lib.mak)
	- Some _h definitions were used before being defined, or weren't
defined at all.  (devs.mak, lib.mak)
	- The JPEG driver was missing a dependency.  (devs.mak)
	- The PDF writer was missing a dependency.  (devs.mak)
	- Building Level 1 systems was no longer possible.  (int.mak)

Updates the VMS build scripts.  (vms.mak, vms-decc.mak)

Adds *.upp to the list of files installed under Unix.  (unix-end.mak)

Adds rules to the Unix makefiles to build two library files: gs.a,
consisting of the entire PostScript/PDF interpreter lacking only gs.c, and
gslib.a, consisting of the graphics library without the gslib.c test driver.
(ansihead.mak, cc-head.mak, gcc-head.mak, unixtail.mak)

</pre><h3><a name="V4.72_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The PS/EPS writers could generate a reference to an undefined
name.  (gdevps.c)
	- The PDF writer produced incorrect output for multi-level outlines.
(gdevpdfm.c)
	- The PDF writer didn't convert /Action to /A, and /Action/Subtype
to /S, in Annot dictionaries.  (gdevpdfm.c)
	- The PDF writer didn't work in Level 1 systems.  (gs_pdfwr.ps)
	- The PDF writer didn't transform /Rect and /R values to current
user coordinates.  (gs_pdfwr.ps, gdevpdfx.h, gdevpdfm.c)
	- The PNG writer could refer to the 3 predefined stdio files even in
environments where this was undesirable.  (gdevpng.c)
	- The PDF writer had a compiled-in limit of 100 pages of output.
(gdevpdfx.h, gdevpdf.c)

Updates the uniprint driver with a major revision that uses device
parameters that can be set from the command line, rather than PostScript
code, for configuration choices.  (gdevupd.c, *.upp)

</pre><h3><a name="V4.72_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- gp_enumerate_files_next had no way to return an error.  (gp.h,
gp_dosfe.c, gp_ntfs.c, gp_os2.c, gp_unifs.c, gp_vms.c) ****** NOT
IMPLEMENTED YET ******
	- On the Watcom platform, CPU_TYPE &gt;= 486 didn't automatically set
FPU_TYPE to 387.  (wccommon.mak)

</pre><h3><a name="V4.72_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Caching the current device in userdict could create dangling
references.  (gs_init.ps, gs_pdfwr.ps, zdevice.c)
	- If an error occurred in a BuildChar or BuildGlyph procedure, the
graphics state stack wasn't restored.  (ichar.h, zchar.c, zchar2.c)
	- There was an obsolete check for a structure when cleaning up after
a show operator.  (zchar.c)
	- Attempting to show a character with no associated glyph in a Type
3 font with a BuildGlyph procedure caused an error.  (zchar.c)
	- noaccess on a read-only dictionary didn't give an error.
(ztype.c)
	- The dictionary passed to a Pattern's PaintProc was the original
template, not the copy made by makepattern.  (gs_lev2.ps)
	- Invalid font parameters could result in partially constructed
fonts, which caused problems for restore.  (zfont0.c, zfont2.c)
	- Files run under job control caused an error when terminating.
(gs_init.ps)
	- setpagedevice didn't protect itself against malfunctioning
BeginPage or EndPage procedures.  (The protection is still not perfect.)
(gs_setpd.ps)
	- .type42execchar called font_param redundantly.  (zchar42.c)
	- The font operators didn't protect themselves well enough against
bogus font dictionaries.  (zfont.c, zfont0.c)
	- If an error occurred within a stringwidth, the graphics state
stack wasn't restored properly.  (zchar.c)
	- If an error occurred within the PaintProc of a form, the graphics
state stack was left with an extra entry.  (gs_lev2.ps)
	- Registering a font under a second name could corrupt data
structures.  (zfont2.c)
	- Different scalings of the same font should have "equal" fontIDs,
to match the Adobe implementations.  (iutil.c)
	- Errors detected by PostScript code during initialization either
allowed execution to continue or produced a hex stack dump, instead of just
producing a message and exiting.  (interp.c)
	- The memory validator didn't validate chunks at previous save
levels.  (ilocate.c)
	- The Level 1 size of systemdict was too small.  (iinit.c)
	- Attempting to define a Category resource in local VM gave a
typecheck error rather than an invalidaccess.  (gs_res.ps)
	- Building Level 1 systems was no longer possible.  (zusparam.c)

Rearranges the interpreter code slightly so that all operator invocations go
through a single procedure when debugging.  (interp.c)

Adds a -K&lt;numK&gt; switch to limit the total amount of memory that Ghostscript
can acquire.  (imainarg.c)

Makes the memory validator check packed refs more carefully.  (ilocate.c)

Makes the memory validator check explicitly for pointers to freed objects.
(igc.c, ilocate.c)

Makes the memory validator check dictionaries more carefully.  (ilocate.c)

Makes the memory validator check refs embedded in structures.  (ilocate.c)

Adds a debugging option that bypasses the garbage collector entirely.
(igc.c)

Adds debugging options to validate memory before/after save/restore.
(zvmem.c)

Removes the patch for the uniprint driver, since it is no longer needed.
(gs_init.ps)

Implements real-number operands in CFF fonts.  (gs_cff.ps)

Implements non-default charsets in CFF fonts.  (gs_cff.ps)

</pre><h3><a name="V4.72_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- The PDF 1.2 "marked content" operators weren't defined.
(pdf_main.ps)
	- Streams with binary data whose first character was an EOL (\n)
didn't parse properly.  Unfortunately, the way we fixed this may break some
other files.  (pdf_base.ps)
	- PDF 1.2 #nn escape syntax in names wasn't recognized.  ****** This
is implemented with an inefficient hack that should be moved down into C.
However, I don't want to risk introducing new bugs during the beta test
period. ****** (pdf_base.ps)
	- The interpreter had a limit of 64K objects.  Removing this limit
required changing a basic data structure -- admittedly a risky thing to do
during beta test.  (pdf_base.ps, pdf_main.ps)
	- TJ didn't multiply the offsets by the font size, causing incorrect
character positioning.  (gs_pdf.ps)

</pre><h3><a name="V4.72_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The ASCIIHexDecode filter read an extra character in case of
error.  (sstring.c)

Adds more tracing output to the CCITTFaxDecode stream.  (scfd.c)

</pre><h3><a name="V4.72_Library"></a>Library</h3><pre>

Fixes bugs:
	- The allocator client name for rendering bitmap patterns was
incorrect.  (Only affects tracing output.)  (gspcolor.c)
	- The check for exceeding the overall allocation limit was
incorrect, because of unsigned arithmetic.  (Only affects limitation of
total allocation, which is only used for debugging and benchmarking.)
(gsmemory.c)
	- The 0'th component of colored screens wasn't passed through the
band list, possibly causing access errors when rasterizing.  (gxclimag.c,
gxclread.c)
	- setbbox could get an overflow without detecting it.  (gsdps1.c)
	- Images with only one component but MultipleDataSources = true
could cause a memory access error.  (gximage.c)
	- The buffer for unpacking 12-bit-per-sample image data was too
small, causing memory corruption.  (gximage.c)
	- 12-bit-per-sample images with multiple data sources sometimes
didn't pass correct pointers to image_data.  (gsimage.c)
	- If an image data stream reached EOF before supplying enough data
for the entire image, memory corruption could occur.  (zpaint.c)
	- When a device halftone was freed, some pointers in the halftone
cache weren't cleared, leading to possible dangling references.  (gsstate.c)
	- Invalid font parameters could result in partially constructed
fonts, which caused problems for restore.  (gxfont0.h, gsfont.c)
	- If an error occurred within a stringwidth, the graphics state
stack wasn't restored properly.  (gschar.c)
	- The (static) limit on the size of a command line argument was too
small.  (gsargs.h)
	- Building Level 1 systems was no longer possible.  (gxdht.h,
gsht.c, gsht1.c)
	- Truncation instead of rounding caused colors on gray-scale devices
to come out very slightly too dark.  (gxcmap.c)
	- The Decode mapping table constructed for images was slightly
inaccurate for ranges other than [0 1] or [1 0].  (gximage.c)

</pre>

<h2><a name="Version4.71"></a>Version 4.71 (limited) (3/31/97)</h2>

<p>
This is a bug fix release during the beta test period.

<h3><a name="V4.71_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- A larger value of -Olimit is now needed to optimize gxclread.c.
(make.txt)
	- Some comments were incorrect.  (gdevbbox.h, sfilter1.c)

Updates the GPL with a newer version from FSF.  (COPYLEFT)

Notes that the gcc 2.7.x code generation bug is fixed in 2.7.2.1.
(make.txt)

</pre><h3><a name="V4.71_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Some streams required by high-level drivers were incorrectly
grouped with the interpreter rather than the library.  (int.mak, lib.mak)
	- The choice of implementation for file streams was buried in an
obscure place, rather than being included in the configuration definitions
at the head of each makefile.  (We believe there are no more such buried
parameters.)  This involved a NON-BACKWARD-COMPATIBLE change in the way this
choice was specified.  (lib.mak, *.mak)
	- Some dependencies were missing.  (lib.mak)

</pre><h3><a name="V4.71_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A variable was used before being initialized, causing get_bits
(and raster ops) to fail when using alternate X devices.  (bug introduced in
4.70.)  (gdevxalt.c)
	- Some 'private' declarations were omitted.  (It is infuriating that
gcc doesn't check for this!)  (gdevps.c, gdevpx.c)
	- A few character strings were used as byte arrays without a cast.
(gdevpx.c)
	- The EPS writer didn't write a correct bounding box, and didn't
write it at the beginning of the file.  (gdevvec.h, gsstruct.h, gdevps.c,
gdevvec.c)
	- x_copy_color specified an incorrect (too large) image width.
Apparently this only mattered because it could cause invalid memory
accesses.  (gdevx.c)
	- x_copy_mono also specified too large an image width.  It's not
clear this made any difference.  (gdevx.c)
	- The default implementation of strip_copy_rop didn't clamp Y values
to legal values for get_bits.  (gdevmrop.c)

</pre><h3><a name="V4.71_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Some initialization files prematurely switched the interpreter
into Level 2 mode, causing some Level 2 operators not to be defined.  (bug
introduced in 4.60 or later.)  (gs_cff.ps, gs_cidfn.ps, gs_cmap.ps,
gs_init.ps, gs_res.ps)

</pre><h3><a name="V4.71_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The choice of procedure names for the file-descriptor-based
implementation of file streams was buried in a .c file, rather than being
chosen in the makefile.  (sfile.c[deleted], sfileno.c[deleted], sfxstdio.c,
sfxfd.c, sfxboth.c)

</pre><h3><a name="V4.71_Library"></a>Library</h3><pre>

Fixes bugs:
	- rcurveto was broken -- it drew curves to random points.  (bug
introduced in 4.61.)  (gspath.c)
	- A trailing comma in an enum definition upset some compilers.  (bug
introduced in 4.70.)  (gstype1.h)
	- Type 1 fonts with hint replacement could produce anomalous or
clipped output, or even missing lines.  (Also cleans up some out-of-date
formatting.)  (gxtype1.h, gstype1.c, gxhint2.c)
	- Removes some conditionals for choosing between old and new
algorithms.  (gxhint3.c)
	- makebitmappattern required that the bitmap consist of only a
single tile repetition.  (gspcolor.c)
	- Some computations on RasterOps didn't take transparency into
account properly.  (gdevmrop.c)
	- The structure definition for imager and graphics states had an
incorrect offset for line_params, causing the garbage collector not to mark
or relocate dash patterns, possibly causing memory faults, FPEs, or invalid
output.  (bug introduced since 4.03.)  (gsstate.c)
	- 'show' operators gave a limitcheck for unreasonable coordinates,
even if limit clamping was enabled.  (gschar.c)

Implements banded filling and stroking with colored halftones, in addition
to pure colors and binary halftones.  Since we are in a beta test period,
actual use of this feature (but *not* all the code implementing it) is
disabled under an #ifdef FUTURE.  (gsdcolor.h, gxcldev.h, gxclpath.h,
gxdht.h, gxhttype.h, gsht.c, gxclimag.c, gxclpath.c, gxclread.c)

</pre>

<h2><a name="Version4.70"></a>Version 4.70 (limited) (3/26/97)</h2>

<p>
This fileset fixes the one outstanding compilation problem on PC platforms
and the old problem of limitchecks for out-of-bounds coordinates, and adds a
variety of new features, including the ability to save away the band lists
for pages and rasterize them later and/or elsewhere in any order and
combination.  This is the first "serious beta" candidate for the next
general release.

<p>
Fileset numbers 4.62 through 4.69 were skipped deliberately.

<h3><a name="V4.70_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The list of special -d and -s switches was out of date.  (use.txt)
	- The name of the zlibDecode filter was incorrectly written
zlibEncode.  (language.txt)

Documents where to find out how to install gcc 2.7.x on SGI IRIX 6.x.
(make.txt)

Documents a makefile patch required on NeXTStep.  (make.txt)

Documents how to patch gcc to fix the AXP code generation bug.  (make.txt)

Adds documentation for the new unified printer driver.  (devices.txt)

</pre><h3><a name="V4.70_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- 'make distclean' didn't remove a couple of files.  (gs.mak)
	- A library module didn't include a necessary dependency.  (lib.mak)
	- A new .ps file wasn't installed properly.  (unix-end.mak)
	- File write dates weren't updated properly on PC platforms, causing
unnecessary rebuilding.  (cp.bat, gs.mak, msc.mak, msvcwint.mak, os2.mak,
tccommon.mak, wccommon.mak, zlib.mak)
	- An unnecessary explicit compilation line for gdevcdj.c caused
problems in the Mac environment.  (devs.mak)
	- The VMS scripts were out of sync again.  (vms.mak)
	- The VMS build scripts didn't include the new JPEG driver.
(vms-*.mak)
	- A number of makefile macros were referenced before being defined.
(devs.mak, lib.mak, int.mak, *.mak)
	- libpng.mak didn't work with PVERSION=90.  (libpng.mak, zlib.mak)

Separates install-scripts from install-exec and install-data.
(unix-end.mak)

Moves the definition of SEARCH_HERE_FIRST from iminst.h to the makefiles.
(*.mak, iminst.h, iconf.c, imain.c)

Adds a -dBATCH switch that causes Ghostscript to exit after processing the
files named on the command line.  (gs_init.ps)

Adds the PostScript, EPS, and PCL XL writers, and the color and gray-scale
JPEG drivers, to all Unix configurations.  (ansihead.mak, cc-head.mak,
gcc-head.mak)

</pre><h3><a name="V4.70_Drivers"></a>Drivers</h3><pre>

NOTE: because of a change in an internal interface (clist_output_page), the
cp50 driver no longer works.  This is a user-contributed driver for which we
take no responsibility.

Fixes bugs:
	- gdevcdj.c wasn't compatible with ansi2knr.  (gdevcdj.c)
	- 'private' was omitted from some declarations.  (gdevjpeg.c)
	- The PostScript writer didn't keep track of the current color
properly.  (gdevps.c)
	- RESOLUTION was misspelled in a header.  (gdevbjc.h)
	- Some compilers objected to the use of a floating point initial
resolution value.  (gdevbjc.h)
	- Some compilers didn't allow static initialization of a union.
(gsdcolor.h)
	- If a TIFF driver got an error when initializing the CCITTFax
encoder, it returned a bogus error code.  (gdevtfax.c)
	- The PDF writer produced incorrect output for Indexed color space
images.  (gdevpdfi.c)
	- For many fatal error conditions, the X driver called exit()
instead of returning an error.  (gdevx*.c)

Adds new drivers:
	- epswrite, an EPS-writing driver (instead of making EPS output a
parametric option of the PostScript-writing device).  (devs.mak, gdevps.c)
	- pcxcmyk, a 4-bit CMYK PCX driver.  This is probably only useful
for debugging CMYK color rendering.  (gdevpcx.c)
	- jpeggray, a JPEG driver that produces gray-scale rather than color
output.  Thanks to Tom Lane for contributing this.  (gdevjpeg.c)
	- uniprint, a unified printer driver for a wide variety of inkjet
printers.  Thanks to Gunther Hess for contributing this.  (gdevupd.c)

Adds the resolution (pHYs) to the output of the PNG drivers.  (gdevpng.c)

Adds recognition of the ASCII85EncodePages parameter to the PostScript and
EPS writers.  (gdevps.c)

Makes the new JPEG driver write a JFIF header, which contains the image
resolution.  (gdevjpeg.c)

Changes the "vector" device support interface so relative movement can be
detected easily.  THIS IS STILL SUBJECT TO CHANGE WITHOUT NOTICE.
(gdevvec.h, gdevpsdf.c, gdevps.c, gdevpx.c, gdevvec.c)

Changes the PostScript, EPS, and PDF writers to recognize curves and lines
that can be represented more efficiently.  (gdevpsdf.h, gdevpsdf.c,
gdevps.c)

Adds a new parameter to the PDF writer, FirstObjectNumber.  This defines the
first object number that will be used in the output.  The default, and
minimum, value is 1; the maximum value is approximately 2^31.  This is for
the benefit of dvipdf; we don't expect it to be used otherwise.  In fact,
using it appears to produce files that Adobe Acrobat Reader won't accept,
even though the files are perfectly compliant with the published PDF
specification.  (gdevpdfx.h, gdevpdf.c, gdevpdfp.c)

</pre><h3><a name="V4.70_Platforms"></a>Platforms</h3><pre>

Removes the makefile for the 16-bit Borland C++ platform.  This was the last
supported 16-bit platform; we expect to gradually drop all 16-bit
concessions from the code itself.  (bcwin.mak)

</pre><h3><a name="V4.70_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The initial size of systemdict was too small, causing the
interpreter to slow down substantially.  (iinit.c)
	- A library module depended on an interpreter module.  (zcsindex.c)
	- A logically necessary (but accidentally always available) #include
was missing.  (ifont.h)

Moves set/currentoverprint to a more appropriate module.  (zcolor2.c,
zcssepr.c)

Changes the default transfer functions so that they do something reasonable
when given operands outside the legal [0..1] range.  We only do this to work
around a bug in FrameMaker output, which uses the transfer function as the
screen function (!).  (gs_init.ps)

Changes the CMap construction algorithm to use the new, more compact
representation.  (zfcmap.c)

Adds support for Adobe's Compact Font Format.  Many individual features are
not implemented yet: see the comment in the source code for details.
(gs_cff.ps)

Adds support for Type 2 charstrings in Type 1 fonts.  (ifont.h, zfont1.c)

Changes the Type 1 character rendering operator for the library change in
Type 1 fonts.  (zchar1.c, zfont1.c)

Initializes the graphics state limit clamp flag to true.  (zgstate.c)

Temporarily adds a configuration file for the new unified printer driver,
and arranges for it to be read at startup.  This arrangement will be
replaced very soon by a different one based on command line parameters.
(gs_init.ps, uniprint.ps)

</pre><h3><a name="V4.70_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Adds support for Compact Font Format fonts.  (pdf_font.ps)

</pre><h3><a name="V4.70_Streams"></a>Streams</h3><pre>

Adds a glue procedure needed for the new jpeggray driver.  (sjpeg.h,
sjpege.c)

Removes the width limit of 32K in the CCITTFaxEncode filter.  The new limit
is absurdly large (about 50M).  (scf.h, scfx.h, scfe.c)

</pre><h3><a name="V4.70_Library"></a>Library</h3><pre>

Fixes bugs:
	- A library module depended on an interpreter module.  (gxcolor2.h,
gscolor2.c)
	- When rendering a band, clipping was sometimes used when it wasn't
necessary.  (Performance only.)  (gxclread.c)
	- Stroking didn't check the path against the device clipping box in
the absence of an explicit (non-default) clipping path.  (Performance only.)
(gxstroke.c)
	- A reference to an opaque type upset a couple of compilers.
(gxclread.c)
	- Negative 32-bit numbers in Type 1 fonts didn't work properly on
64-bit systems.  (gstype1.c)
	- A logically necessary (but accidentally always available) #include
was missing.  (gxbitmap.h)
	- A header wasn't protected against double inclusion.  (gxclist.h)
	- Clipping devices didn't store their actual width and height.
(gxcpath.c)
	- The slow-case check for thin lines was incorrect.  (gxstroke.c)
	- Images didn't compute their clipping boxes correctly if there
wasn't an explicit clipping path.  (This must be a very recent bug, since it
creates an overflow condition that prevents monochrome images from being
rendered at all.)  (gximage.c)

Moves set/currentoverprint to a more appropriate module.  For clients of
gs_set/currentoverprint, this is a NON-BACKWARD-COMPATIBLE CHANGE, since the
header file is now separate.  (gscolor2.h, gscsepr.h, gscolor2.c, gscsepr.c)

Replace the MetroWerks work-around with a different, more general one.
(gdevmem.h, gdevmem.c, gxdevice.h)

Speeds up the Type 1 interpreter a little.  (gstype1.c, gxhint3.c)

Redesigns the internal representation of CMaps to be more space-efficient.
(gxfcmap.h, gschar0.c, gsfcmap.c)

Implements a facility for saving away pages and rendering them later.
Currently this requires the pages to be represented as band lists on files,
and only allows X translation when rendering.  This involves adding the
following new printer device parameters:
	BandHeight
	BandWidth
	BandBufferSpace
Also changes the names of the printer device parameter elements from
use_buffer_space to BufferSpace and from max_bitmap to MaxBitmap for
consistency.  (gdevprn.h, gxcldev.h, gxclio.h, gxclist.h, gxclmem.h,
gxclpage.h, gxdevmem.h, gdevmem.c, gdevp2up.c, gdevprn.c, gxclmem.c,
gxclpath.c, gxclread.c)

Changes the band list implementation API to allow closing a file without
deleting it, and to allow reopening an existing file.  This is a
NON-BACKWARD-COMPATIBLE change to a deep internal interface.  (gxclio.h,
gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)

Speeds up rendering of colored halftones, by recognizing cases where one or
more planes don't actually require screening, unrolling a loop, and doing
basic clipping before halftoning.  (gxcht.c)

Adds a graphics state parameter, gs_set/currentlimitclamp, that changes the
handling of out-of-range coordinates to clamp them in a way that produces
approximately the intended output most of the time, rather than causing a
limitcheck.  Currently this is only designed to work with the basic path
construction operations ([r]moveto, [r]lineto, [r]curveto, closepath); it
does not work with many other operations such as show, flattenpath or the
rectangle operations.  Note also that while currentpoint will return the
correct (unclamped) value, reading out the path with pathforall will return
clamped values.  This involves NON-BACKWARD-COMPATIBLE changes to the path
structure (but not to any public interfaces).  (gxpath.h, gxtype1.h,
gzpath.h, gzstate.h, gspath.c, gspath1.c, gsstate.c, gstype1.c, gxpaint.c,
gxpath.c, gxpath2.c, gxpcopy.c)

Adds support for Type 2 charstrings.  Some features are not implemented yet:
see gstype2.c for details.  (gscrypt1.h, gstype1.h, gxfont1.h, gxop1.h,
gxtype1.h, gstype1.c, gstype2.c, gxhint2.c, gxhint3.c, gxtype1.c)

</pre>

<hr>

<h2><a name="Version4.61"></a>Version 4.61 (limited) (3/13/97)</h2>

<p>
This fileset cleans up many compiler warnings.  It adds support for
CMap-encoded fonts, and a driver that writes JPEG images.

<h3><a name="V4.61_Documentation"></a>Documentation</h3><pre>

Corrects an error in the description of the internal CodeMap structure.
(gs_cmap.ps)

Documents the fact that the optimizer in gcc 2.7.2.1 is broken on AXP
machines.  (make.txt)

Corrects the name of the .setglobal/.currentglobal procedures.  (zvmem2.c)

Updates current.txt in preparation for the release.  (current.txt)

</pre><h3><a name="V4.61_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The VMS script was out of date again.  (vms.mak)
	- CIDFont support unnecessarily required composite font support.
(int.mak)
	- CMap and CIDFont support had improper dependencies on
initialization order.  (lib.mak, int.mak)
	- Some dependencies were missing in the JPEG library code.
(jpeg.mak)

Adds the new JPEG driver to all standard configurations.  (*.mak)

</pre><h3><a name="V4.61_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A dependency was omitted from the makefile.  (devs.mak, gdevps.c)

Cleans up some warnings from picky compilers.  Some of these actually
indicated problems, such as unreachable code.  (gdevpdfx.h, gdevbj10.c,
gdevcdj.c, gdevpdfp.c, gdevstc.c)

Adds a JPEG-writing driver.  Currently this only produces RGB output and
only has a QFactor parameter, but eventually it could take all the other
parameters of the DCTEncode filter.  (devs.mak, int.mak, lib.mak,
gdevjpeg.c)

Refactors the PDF and PostScript output drivers so that both of them
understand all the relevant documented PDF distiller parameters.  (The
PostScript driver currently disregards nearly all of them.)  (gdevpdfx.h,
gdevpsdf.h, gdevvec.h, gdevpdf*.c, gdevps.c, gdevpsdf.c, gdevpx.c)

</pre><h3><a name="V4.61_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The MetroWerks C compiler gave an inexplicable error on a
particular initialization.  (gdevmem.h, gdevmem.c)

</pre><h3><a name="V4.61_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The insideness testing operators sometimes reported hits
incorrectly.  (zupath.c)
	- Mixed-type arithmetic used floats rather than doubles when
converting integers, possibly leading to loss of precision.  (zarith.c,
zrelbit.c)
	- composefont was defined in a private dictionary, not in
systemdict.  (gs_cmap.ps)
	- composefont didn't work, for several different reasons.
(gs_cmap.ps)
	- After a Type 1 font called an OtherSubr, an invalid memory access
usually occurred, because of an incorrect attempt to free a data structure.
(zchar1.c)
	- 2 .setlanguagelevel gave an error if globaldict hadn't been
defined yet.  (zmisc2.c)

Cleans up some warnings from picky compilers.  Some of these actually
indicated problems, such as unreachable code, or failure to check for
(implausible) out-of-range data.  (idict.c, idparam.c, igc.c, iinit.c,
imain.c, iscan.c, zbseq.c, zchar1.c, zdps1.c)

Adjusts clients for a change in the internal character cache structure and
the introduction of the font next-glyph procedure.  (zfont.c, zfont0.c)

Refactors the Level 1 / Level 2 interpreter split slightly so that composite
fonts don't require all of Level 2.  (int.mak, gs_dps1.ps, gs_dps2.ps)

Adds FMapType 9 (CMap-encoded) composite font support.  (int.mak,
gs_cmap.ps, ifont.h, zfcmap.c, zfont.c, zfont0.c)

</pre><h3><a name="V4.61_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Adds recognition of /Identity values for BG, UCR, and TR functions in
ExtGState resources.  (General function values still aren't recognized.)
(pdf_draw.ps)

Centralizes the handling of inherited attributes.  (pdf_draw.ps,
pdf_main.ps)

Starts to add support for Type 0 fonts.  (pdf_font.ps, pdf_main.ps)

</pre><h3><a name="V4.61_Streams"></a>Streams</h3><pre>

Cleans up some warnings from picky compilers.  Some of these actually
indicated problems, such as unreachable code.  (shc.h, scfd.c, sfilter2.c,
siscale.c, stream.c)

</pre><h3><a name="V4.61_Library"></a>Library</h3><pre>

Fixes bugs:
	- Some picky compilers disliked certain conditional expressions.
(gxclread.c)
	- Some picky compilers couldn't handle an extraneous semicolon.
(gdevvec.h)
	- A cast from byte ** to const byte ** was missing.  (gdevvec.c)
	- Resizing the levels array of a halftone order when banding could
cause invalid memory accesses.  (bug introduced in 4.60) (gxclread.c)
	- One picky compiler didn't allow taking the address of an extern
undefined structure.  (lib.mak, gxclread.c)
	- When rendering Type 1 fonts, character overshoot was usually
suppressed when it shouldn't have been, often producing "squashed"
characters.  (gxhint1.c)
	- On systems where sizeof(long) &gt; sizeof(int), coordinate values of
more than 22 bits were passed through the band list incorrectly, producing
incorrect output.  (gxclread.c)

Cleans up some warnings from picky compilers.  Some of these actually
indicated problems, such as unreachable code or (hypothetical) loss of
precision.  (gsdevice.c, gshsb.c, gsht.c, gsstate.c, gstype1.c, gxclimag.c,
gxclpath.c, gxclread.c, gxpdash.c)

Makes using font hints conditional, for debugging.  (gxhint1.c)

Adds library-level support for FMapType 9 (CMap-encoded) composite fonts.
There is still no support for rearranged fonts.  (gsccode.h, gsfcmap.h,
gsstruct.h, gxfcache.h, gxfcmap.h, gxfont.h, gxfont0.h, gschar.c, gschar0.c,
gsfcmap.c, gsfont.c, gsfont0.c)

Splits band list control and utilities from rectangle-oriented commands,
because a file was getting too big.  (gxclist.c, gxclrect.c)

Moves the temporary file names for command lists from the printer device
structure to the command list structure; moves opening and closing the
temporary files from gdev_prn_alloc/free to clist_open/close.  (gdevprn.h,
gxclist.h, gdevprn.c, gxclist.c, gxclread.c)

Changes the command list storage implementation interface to pass the file
name to the clist_rewind and clist_fseek functions, for the benefit of OSs
that require closing and reopening a file to switch between reading and
writing.  This is a NON-BACKWARD-COMPATIBLE change in a non-public
interface.  (gxclio.h, gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)

Changes the get_outline procedure in Type 42 fonts to return the length of
the outline data as well as the pointer.  This is a NON-BACKWARD-COMPATIBLE
change in a semi-public interface.  (gxfont42.h, gstype42.c)

</pre>

<h2><a name="Version4.60"></a>Version 4.60 (limited) (3/2/97)</h2>

<p>
This fileset moves color rendering up from the graphics state to the imager
state so that color rendering can happen after banding.  It also shifts
image rendering to the rendering pass of banding for many common cases
(often referred to inaccurately as "high-level image" capability).  The
changes involved are substantial and in some respects subtle, so
unfortunately it is quite possible that some new bugs have been introduced.

<p>
This fileset also includes improvements to the new PCL XL driver
(pxlmono/color), and introduces an experimental PostScript driver (pswrite).

<h3><a name="V4.60_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The argument list of colorimage was incorrect.  (zcolor1.c)
	- false .charboxpath incorrectly claimed to create the correct path
even when the CTM was not well-behaved.  (language.txt)
	- The discussion of the "main program" files was out of date.
(make.txt)

Updates the OS/2 EMX documentation.  (make.txt)

Modifies the Aladdin Ghostscript Free Public License slightly so it may be
applied to other software packages.  (PUBLIC)

Updates inaccurate build documentation for several Unix platforms.
(make.txt, ansihead.mak, cc-head.mak, gcc-head.mak, libpng.mak)

Notes a problem with the MIPSpro 7.1 compiler.  (make.txt)

</pre><h3><a name="V4.60_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Most makefiles didn't include version.mak.  (msc.mak,
msvcwint.mak, os2.mak, tctail.mak, wctail.mak)
	- There was an incorrect dependency for the Windows printer device.
(devs.mak)

Moves the PDF writer to devs.mak.  (devs.mak, int.mak)

Updates the main VMS script to be structured like version.mak.  (vms.mak)

</pre><h3><a name="V4.60_Drivers"></a>Drivers</h3><pre>

Factors out the stream-writing procedures from the PDF writer, so they can
be shared with the new PostScript writer.  (gdevpdfs.h =&gt; gdevpstr.h,
gdevpdfx.h, gdevpsdf.h, gdevpdf.c, gdevpdfi.c, gdevpdfs.c =&gt; gdevpstr.c,
gdevpdft.c, gdevpsdf.c)

Adds a PostScript writer (pswrite), similar to the PDF and PCL XL drivers.
Currently this handles fill/stroke graphics and Level 1 images; everything
else (including text) is turned into bitmaps.  (devs.mak, gdevps.c)

Changes the names of the PCL XL drivers from hpxmono/color to pxlmono/color.
(devs.mak, gdevpx.c)

Updates the "vector" device support interface.  THIS IS STILL SUBJECT TO
CHANGE WITHOUT NOTICE.  (gdevvec.h, gdevpx.c, gdevvec.c)

Makes the vgalib driver a page device.  This seems bizarre, but it's
necessary for setpagedevice to work with it.  (gdevvglb.c)

Updates some drivers for the new color mapping interfaces.  (gdevpx.c)

Updates the user-contributed Canon LBP-8II and LIPS III driver.
(gdevlbp8.c)

</pre><h3><a name="V4.60_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The workaround for Ultrix's incorrect implementation of sh -e
still didn't work.  (unixtail.mak)
	- The definition of offset_of didn't work on the Mac.  (stdpre.h)

Updates the OS/2 EMX linker command per input from a user.  (os2.mak)

</pre><h3><a name="V4.60_Fonts"></a>Fonts</h3><pre>

Adds .pss (apparently used by Adobe for Multiple Master font instances) to
the list of extensions skipped by the GS_FONTPATH directory scanner.
(gs_fonts.ps)

</pre><h3><a name="V4.60_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Programs that rebind null, true, and/or false could cause all
kinds of problems.  We've only fixed a couple of the places that might be
affected (findfont, quit), by wrapping an explicit "systemdict begin/end"
around the code; fixing this completely would probably require wrapping this
implicitly around almost every pseudo-operator, which would be too
expensive.  (gs_fonts.ps, gs_lev2.ps)
	- In a Level 2 system, grestoreall stopped one level too early.
(zdevice2.c)
	- setpagedevice didn't restore the stack properly if it got an
error.  (gs_setpd.ps)

Changes the GC pointer enumeration interface to reduce the number of
'discarding const' warnings.  See under Library below.  (igc.c)

Updates the interpreter for the change in the imager / graphics state split.
(zpcolor.c)

Makes the stack-restoring behavior of pseudo-operators non-optional.
(interp.c)

</pre><h3><a name="V4.60_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- PDFDocEncoding and WinAnsiEncoding incorrectly had `minus' at
position 45 rather than `hyphen'.  (gs_pdf_e.ps, gs_wan_e.ps)

</pre><h3><a name="V4.60_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- A header file wasn't protected against double inclusion.
(stream.h)
	- any_abs was redefined.  (spngp.c)
	- The CCITTFaxDecode filter didn't fully initialize the "previous
line" for 2-D decoding, so if the very first line of data was 2-D, an
out-of-bounds memory access could occur.  (scfd.c)

</pre><h3><a name="V4.60_Library"></a>Library</h3><pre>

Fixes bugs:
	- gs_image_next could read too much data, causing errors at the
interpreter level.  (gsimage.c)
	- The bitmaps stored in the Pattern cache were usually freed,
leaving dangling pointers.  (gsdcolor.h, gxpcache.h, gxpcolor.h, gsstate.c,
gxpcmap.c)
	- There was still one assignment to a const structure, and there
were some unnecessary const-discarding casts.  (gxclread.c)
	- If a character in a Type 3 font was defined by executing 'show'
type commands, charpath did the wrong thing (didn't pick up the paths
created by the inner show).  Similarly, if it uses 'stroke', true charpath
did the wrong thing (appended the path rather than the strokepath path).
(gxchar.h, gschar.c, gspaint.c)
	- A header file wasn't protected against double inclusion.
(gserror.h)
	- The new fast implementation of rectfill didn't handle rectangles
with negative width/height.  (bug introduced in 4.32) (gsdps1.c)
	- Reading banded high-level images calculated the image height
incorrectly, (usually) causing a rangecheck.  (gxclread.c)
	- When reading band data, a memory fault could occur if the halftone
cache hadn't been allocated yet.  (gxht.c)
	- The imager state data for high-level images wasn't written soon
enough.  (gxclimag.c)
	- High-level images computed bounding boxes incorrectly, so they
could write some garbage data in the band list, and could also fail to write
some information.  (gsmatrix.h, gxmatrix.h, gxclimag.c)
	- High-level images wrote the raster value incorrectly in the band
list.  (gxclimag.c)
	- Images with non-zero initial source X and non-portrait orientation
were displaced on the page.  (In practice, this only applied to some banded
high-level images.)  (gximage.c)
	- The bounding box device didn't forward output_page calls, causing
pages to be dropped or overprinted.  (gdevbbox.c)
	- The band renderer considered all non-zero return codes as errors,
rather than only negative codes.  (gxclread.c)
	- An unnecessary extern hadn't been removed.  (gxclimag.c)
	- Some macros didn't parenthesize uses of their arguments, causing
syntax errors.  (gsrefct.h)
	- The screen phase and color_info weren't set correctly when
rendering bands.  (gsstate.h, gsht.c, gxclread.c)
	- A header file didn't declare all the opaque types it used.
(gsdevice.h)
	- Indexed color spaces didn't work with banded images.  (They still
don't -- the check for writing the color space, and the code for reading the
table or map, are incomplete.)  (gxclist.h, gxclpath.h, gxclimag.c,
gxclpath.c, gxclread.c)

In preparation for implementing post-banding halftoning:

	- Moves color rendering information, including alpha value, from
graphics state to imager state; also moves the allocator pointer.  This is
quite a subtle change, and may have a significant bug tail.  (gxdcolor.h,
gxht.h, gxistate.h, gzstate.h, gschar.c, gsdps1.c, gspaint.c, gsstate.c,
gxclread.c)

	- Changes all the relevant color space and color mapping procedures
so they take a const gs_imager_state * (and, in some cases, a [const]
gx_device *) instead of a const gs_state *.  This is a
non-backward-compatible change, but it only affects internal interfaces.
(gsdcolor.h, gxcmap.h, gxcspace.h, gxdcconv.h, gxdcolor.h, gxdither.h,
gxpcolor.h, gzht.h, gschar.c, gscie.c, gscolor.c, gscolor1.c, gscolor2.c,
gscsepr.c, gsdevice.c, gsimage.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcconv.c,
gxdcolor.c, gxht.c, gximage.c, gximage[2345].c, gxpcmap.c)

	- Changes the color and color space reference count adjustment
procedures similarly, to take a gs_memory_t * instead of a gs_state_t *.
(gxcspace.h, gscie.c, gscolor.c, gscolor2.c, gscsepr.c, gspcolor.c)

	- Changes the gs_halftone in the graphics state from being part of
the gs_state_contents to being an independent reference-counted object.
This too may have a significant bug tail.  (gxht.h, gxistate.h, gsht.c,
gsstate.c)

	- Changes the image processing code so it no longer assumes that the
gs_imager_state is actually a gs_state.  (gximage.h, gximage.c, gximage2.c,
gximage3.c, gximage4.c, gximage5.c)

	- Adds a unique ID value to device halftones, so that it's possible
to detect (non-)changes quickly.  (gxdht.h, gsht.c)

Finishes the code for writing and reading color rendering information in the
band list.  This involves changes to several band list opcodes.  (gsht.h,
gsht1.h, gxcldev.h, gxclist.h, gxclpath.h, gxdht.h, gzht.h, gsht.c, gsht1.c,
gxclbits.c, gxclimag.c, gxclist.c, gxclread.c)

Changes the garbage collector pointer enumeration procedure interface
slightly to reduce the number of 'discarding const' warnings.  THIS IS A
NON-BACKWARD-COMPATIBLE CHANGE for anyone who didn't use the
ENUM_PTRS_BEGIN[_PROC] macro to start a pointer enumeration procedure (which
should be no one).  (gsstruct.h, gsmemory.c)

Corrects a few more needlessly const-discarding casts.  (gxfcache.h,
gxccache.c)

Checks for file reading errors when rasterizing bands.  (gxclread.c)

</pre>

<hr>

<h2><a name="Version4.51"></a>Version 4.51 (limited) (2/9/97)</h2>

<p>
This version contains a more reasonable high-level PCL XL driver.  The VMS
build script is working again, we think.

<h3><a name="V4.51_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The gsdll_h macro wasn't defined all the places it was needed.
(devs.mak, os2.mak)

</pre><h3><a name="V4.51_Drivers"></a>Drivers</h3><pre>

Continues to develop the "vector" driver infrastructure and the PCL XL
driver.  EVERYTHING IN THESE FILES IS SUBJECT TO CHANGE WITHOUT NOTICE.
(gdevvec.h, gdevvec.c)

Brings the PCL XL driver up to usable quality for graphics.  Most
fill/stroke graphics, and portrait-orientation bitmap images up to 8 bits
per pixel, are converted directly to their PCL XL equivalents.  Text is
still treated as bitmaps.  Both gray-scale and color output are now
supported.  (devs.mak, gdevpx.c)

</pre><h3><a name="V4.51_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- When using gsos2.exe with gsdll2.dll, reducing the size of the
page bitmap caused a limitcheck error with the message
    Failed to decommit memory in pm_alloc_bitmap, rc = 87  (gdevpm.c)
	- The scripts that construct gconfig_.h failed on Ultrix, because
Ultrix's implementation of sh -e is incorrect.  (unixtail.mak, ugcclib.mak)
	- Some systems that have sys/times.h don't define CLK_TCK, making a
compilation fail.  (time_.h)

</pre><h3><a name="V4.51_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- An omitted semicolon wasn't detected by gcc.  (idict.c)

Removes a source of unnecessary duplication by getting the revision number
and date from version.mak.  (gs.mak, int.mak, version.mak, gscdef.c)

</pre><h3><a name="V4.51_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The minimum buffer sizes for the RunLengthDecode filter hadn't
been changed to reflect the algorithm improvement made in release 4.38.
(srld.c)

Changes the RunLengthEncode filter so it can make progress with only a
2-byte output buffer.  (srlx.h, srle.c)

</pre><h3><a name="V4.51_Library"></a>Library</h3><pre>

Fixes bugs:
	- Because of a typo, the slow general algorithm was always used for
monochrome images.  (Performance bug only, but a serious one.)  (gximage2.c)
	- Dots (zero-length lines with round caps and zero dot length)
caused an infinite loop.  (bug introduced in 4.40)  (gxstroke.c)
	- Some image data unpacking procedures were always required, but
weren't always included.  (bug introduced in 4.50) (gximage.c, gximage0.c,
gximage3.c)
	- Images with 8 bits per pixel and non-identity Decode produced
garbage.  (bug introduced later than 4.03) (gximage0.c)
	- Some necessary casts and omitted punctuation weren't detected by
gcc.  (gxpath.h, gsargs.c, gsstate.c, gxclread.c, gxpdash.c)
	- The band list became confused if a band had no commands at all.
(gxclread.c)
	- If a path included a closepath followed by a moveto to the same
point, it could be written incorrectly in the band list.  (bug probably
introduced in 3.60) (gxclpath.c)

Changes some internal computations for arcs from float to double for greater
accuracy.  (gspath1.c)

</pre>

<h2><a name="Version4.50"></a>Version 4.50 (limited) (1/31/97)</h2>

<p>
This release contains an experimental high-level PCL XL driver, a little
more support for CID/CMap fonts, and the usual bug fixes.  NOTE: the VMS
build script is known to be out of sync with the makefiles again; we still
don't see any alternative to constant struggles with this problem.

<h3><a name="V4.50_Documentation"></a>Documentation</h3><pre>

Corrects the -h message, which gave an incorrect file name for the bug
report form.  (imainarg.c)

Removes documentation for 16-bit MS-DOS platforms with the Borland compiler.
(fonts.txt, make.txt, new-user.txt, use.txt)

</pre><h3><a name="V4.50_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The Watcom library makefile didn't define the directory
information for libpng and zlib.  (watclib.mak)

Moves the selection of band list implementation (file- vs. RAM-based) and
the compression filter for RAM-based band lists up to the top-level
makefiles.  Again, this is a NON-BACKWARD-COMPATIBLE procedure change.
(lib.mak, *.mak)

Moves the selection of version number for all platforms (except VMS, as
usual) to a separate file.  This will reduce the number of files that need
editing when the version number changes.  (ansihead.mak, cc-head.mak,
gcc-head.mak, ugcclib.mak, version.mak, tar_cat)

</pre><h3><a name="V4.50_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- An error in the (unsupported) SGI RGB driver could cause crashes
or incorrect output.  (gdevsgi.c)

Starts to create a framework for structured output ("vector") drivers (PDF,
PostScript, PCL XL, etc.)  (gdevbbox.h, gdevvec.h, gsdcolor.h, gsstruct.h,
gxdevice.h, gdevvec.c)

Moves default page size parameters to a more accessible header.  (gdevprn.h,
gxdevice.h, gdevx.c)

Adds a driver that produces properly structured PCL XL output.  This is
highly experimental and not ready for use yet.  (gdevpx.c)

</pre><h3><a name="V4.50_Platforms"></a>Platforms</h3><pre>

Removes support for 16-bit MS-DOS platforms with the Borland compiler.  For
the moment, 16-bit MS Windows is still supported.  (bc.mak, bcflags.mak,
bclib.mak, tc.mak)

</pre><h3><a name="V4.50_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- File-based CIDFonts (with delayed, incremental loading of
character outlines) didn't work.  (gs_cidfn.ps)

Finishes implementing the definition of CMap resources, except for
rearranged fonts.  (gs_cidfn.ps, gs_cmap.ps)

Adds a little more CMap support code.  (zcid.c)

Removes the .setcurrentfile operator, since it doesn't solve the problem it
was intended to address.  (zcontrol.c)

Adapts the interpreter to use the new argument processing code.
(imainarg.c)

</pre><h3><a name="V4.50_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The CCITTFaxDecode filter could access as much as 3 bytes beyond
the end of a buffer, causing an invalid memory access.  (This is essentially
the same bug that was fixed for the CCITTFaxEncode filter in 4.38.)
(scfd.c)

</pre><h3><a name="V4.50_Library"></a>Library</h3><pre>

Fixes bugs:
	- Painting an image without having set up any halftone could cause a
crash.  (gxht.c)
	- In a very obscure case, an occasional scan line of landscape
images could get corrupted.  (gximage0.c)
	- Because of a rounding error, patterns could fail to be painted in
certain cases.  (gxpcolor.h, gspcolor.c, gxpcmap.c)
	- Very large line widths or miter limits could cause the computation
of stroke expansion to overflow.  (gxpaint.h, gdevbbox.c, gxclpath.c,
gxstroke.c)
	- The phase could be incorrect for simple patterns.  (gspcolor.c)
	- The default implementation of copy_mono used an incorrect
RasterOp.  (gdevdflt.c)
	- The default implementation of fill_masked didn't increment the row
pointer, causing characters to appear as solid rectangular blocks.
(gxdcolor.c)

Eliminates an unnecessary gsave and grestore from rectfill and rectstroke if
the path was null.  (gsdps1.c)

Adds a limit on the amount of space that the default (C heap) allocator will
allocate, and a record of the maximum amount allocated, to help testing
embedded products.  (gsmemory.c)

Changes the band list algorithm for deciding how many replicas of a halftone
tile to store in the tile cache.  The previous algorithm was too liberal,
which could cause the cache to overflow and many unnecessary bitmaps to be
written in the band list.  (gxclbits.c)

Writes clipping with a rectangle more compactly in the band list.
(gxfixed.h, gxclpath.c)

Adds new band list commands for representing 90- and 180-degree arcs
compactly.  (gxclpath.h, gxclpath.c, gxclread.c)

Repackages handling of general monochrome images, color images, and 12-bit
and interpolated images, so that they are included optionally rather than in
all configurations.  (int.mak, lib.mak, gximage.h, gximage.c,
gximage[12345].c)

Changes the structure definition for devices to include no-op pointer
enumeration and relocation, so they can have subclasses.  (gxdevice.h)

Adds a library facility for processing command line arguments with
@-expansion.  (gsargs.h, gsargs.c)

</pre>

<hr>

<h2><a name="Version4.41"></a>Version 4.41 (private) (1/21/97)</h2>

<p>
This release adds a PCL XL output driver, and a few performance
improvements.

<h3><a name="V4.41_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The zlib library used an incorrect header file when compiling.
(zlib.mak)

Changes the names of the preprocessor symbols indicating the presence of
system header files to be consistent with the ones used by GNU configure.
(dvx-tail.mak, ugcclib.mak, unixtail.mak, vms.mak; dirent_.h, time_.h;
gp_unix.c)

Changes the method for choosing the compression filter for RAM-based band
lists.  This is a NON-BACKWARD-COMPATIBLE change in the makefile.  (lib.mak)

</pre><h3><a name="V4.41_Drivers"></a>Drivers</h3><pre>

Adds black-and-white and 8-bit gray PCL XL (PCL 6) drivers for the LaserJet
5 and 6 family.  This driver is extremely simple and just emits bitmaps;
future drivers will use more PCL XL high-level constructs.  (gdevlj56.c)

</pre><h3><a name="V4.41_Fonts"></a>Fonts</h3><pre>

Updates the free font distribution to add the URW Grotesk and Antiqua fonts.

</pre><h3><a name="V4.41_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- gs -h and -v returned with a non-zero exit code on all platforms.
(This is necessary under Windows, to keep the message visible on the screen,
but nowhere else.)  (imainarg.c)
	- Resizing a dictionary could exceed dict_max_size, causing memory
corruption.  (dstack.h, idict.h, idict.c, zdict.c)

Adds .setlinecap and .setlinejoin that can use the extended range of line
cap/join values, and redefines setlinecap and setlinejoin in terms of them.
(gs_init.ps, zgstate.c)

</pre><h3><a name="V4.41_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The CCITTFaxDecode filter with EncodedByteAlign = true skipped to
a byte boundary before checking for an EOL.  This may be wrong if EndOfLine
= true; we aren't at all sure what should happen if EndOfLine = false.
(scfd.c)

Adds a "no wrapper" option to the zlib streams, to optionally suppress the
time-consuming integrity checksum computation.  (szlibx.h, szlibc.c,
szlibd.c, szlibe.c)

</pre><h3><a name="V4.41_Library"></a>Library</h3><pre>

Fixes bugs:
	- Dashed lines with zero-length drawn segments (dots) that fell
exactly on a corner produced inappropriate output.  (pcl/test19.pxs)
(gxpdash.c, gxstroke.c)
	- Dashed lines didn't set the segment notes properly.  (gxpdash.c)
	- The bounding box device didn't free a bookkeeping structure at the
end of processing an image.  (gdevbbox.c)
	- Curve points could get computed incorrectly when using emulated
floating point.  (gxpcopy.c)
	- The 1-element cache for curve_x_at_y didn't work if Y was
decreasing.  (gxfixed.h, gxpcopy.c)

Distinguishes between error and informational exits.  (stdpre.h)

Defines and checks maximum values for line cap and join parameters.
(gslparam.h, gsline.c)

Removes the 'not last' segment note, since it is not used for anything.
(gxpath.h, gspath1.c, gxpath2.c, gxpcopy.c, gxpflat.c, gxstroke.c)

Changes the memory freeing algorithm for RAM-based band lists back to the
original one, since the "improved" one had more bugs than it was worth
chasing.  (gxclmem.c)

Speeds up the A * B / C algorithm a little.  (gsmisc.c)

Speeds up curve_x_at_y by recognizing more cases that don't require the slow
A * B / C algorithm.  (gxpcopy.c)

Changes the path filling code so it uses fill-by-trapezoids even if
fill_adjust is zero, as long as the flatness is at least 1 pixel.
(gxfill.c)

Removes the (unneeded) floating point operations from gx_curve_log2_samples.
(gxpflat.c)

Changes the memory-based implementation of band lists so that it constructs
the compressor and decompressor by calling procedures rather than
instantiating templates: this allows setting filter parameters to
non-default values.  (gxclmem.h, gxcllzw.c, gxclmem.c, gxclzlib.c)

</pre>

<h2><a name="Version4.40"></a>Version 4.40 (private) (1/13/97)</h2>

<p>
This version finally handles the last graphics model discrepancies between
PostScript and PCL, by correctly implementing null joins, minimum dot
lengths, and tangent-aligned curve ends.  It also contains some significant
performance improvements, and as usual a few bug fixes.

<h3><a name="V4.40_Documentation"></a>Documentation</h3><pre>

Documents the new accurate curves and path dashing operators.
(language.txt)

</pre><h3><a name="V4.40_Utilities"></a>Utilities</h3><pre>

Adds switches for genconf to set and unset a prefix for file names.
(genconf.c)

</pre><h3><a name="V4.40_Drivers"></a>Drivers</h3><pre>

Adds recognition of the new Distiller 3.0 parameters to the PDF writer.
(None of them have any effect yet.)  (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c,
gdevpdfp.c)

Converts all the output functions in the PDF writer from being file-based to
using streams, in anticipation of adding compression.  (gdevpdfs.h,
gdevpdfx.h, gdevpdf*.c, gdevpdfs.c)

</pre><h3><a name="V4.40_Interpreter"></a>Interpreter</h3><pre>

Adds operators for accessing the new accurate curves flag in the graphics
state.  (zgstate.c)

Adds an operator for invoking gs_dashpath.  (zpath1.c)

</pre><h3><a name="V4.40_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Indexed color spaces whose base space was a CIE space caused an
error.  (pdf_draw.ps)

</pre><h3><a name="V4.40_Library"></a>Library</h3><pre>

Fixes bugs:
	- A pointer was declared const incorrectly.  (gxcpath.c)
	- Filling with a pattern often failed to pass a non-null bitmap ID,
causing excessive writing in the band list.  (Performance bug only.)
(gspcolor.c)
	- The bounding box device didn't discount copy_mono or draw_line
operations drawing in white.  (gdevbbox.c)
	- The bounding box device didn't read out the bounding box correctly
as the PageBoundingBox device parameter.  (It did return it correctly
through the gx_device_bbox_bbox procedure.)  (gdevbbox.c)
	- The default implementation of fill_triangle drew nothing or
incorrect output if the corners of the triangle were specified in certain
orders (ax &lt; 0 or bx &lt; 0) (i.e., the previous "fix" had a bug).
(gdevddrw.c)

Changes tile size from always being set in all bands to being 'known' by
bands individually.  (gxclist.h, gxcldev.h, gxclbits.c, gxclist.c)

Computes an additional value in advance when rendering images.  (gximage.h,
gximage1.c, gximage2.c)

Replaces some slow loops with calls of memmove.  (gxclmem.c)

Provides a fixed-point implementation of A * B / C for machines with slow
floating point.  (gxfixed.h, gsmisc.c)

Extends the "device color" type to implement filling masked regions as well
as rectangles.  (gxdcolor.h, gdevdflt.c, gspcolor.c, gxcht.c, gxdcolor.c,
gxht.c)

Makes unclipped monobit portrait and landscape images and image masks use
the new masked fill capability of device colors.  (gximage.h, gximage.c,
gximage1.c, gximage2.c)

Adds a macro for determining pointer alignment.  (stdpre.h, gdevdflt.c)

When floating point is slow, uses a different, faster algorithm for
gx_curve_x_at_y.  (gxpcopy.c)

Improves performance by adding a one-element cache for gx_curve_x_at_y.
(gzpath.h, gxpcopy.c)

Reduces overhead when banded images are pre-rasterized (currently, always).
(gxclimag.c)

Adds a rendering cost estimate field to each band in a band list.  This
field isn't actually used for anything yet; eventually, the intent is that
bands with a high cost will get rendered, and stored in compressed form,
before starting the engine.  (gxclist.h)

Adds the concept of 'notes' for path segments, to allow remember what
segments constitute a single curve or arc.  Currently we set these properly
for everything except dashed paths.  (gxclpath.h, gxpath.h, gzpath.h,
gspath1.c, gxclpath.c, gxclread.c, gxpath.c, gxpath2.c, gxpcopy.c)

When the dot length is non-zero, changes curve stroking to always use bevel
joins within each curve rather than the current join.  This prevents a
"bristly" look with no join and butt caps.  (gxstroke.c)

Adds an "accurate curves" capability that makes the last line segment of a
flattened curve actually be tangent to the curve, which in turn makes
flat-end caps be correctly perpendicular to the tangent.  (gxpath.h,
gxpcopy.c)

Adds an "accurate curves" flag in the graphics state.  (gsline.h,
gxclpath.h, gxistate.h, gsline.c, gspath.c, gspath1.c, gxclpath.c,
gxclread.c, gxfill.c, gxstroke.c)

Changes the meaning of "no join" (gs_join_none) so that instead of producing
no join and butt caps, it produces whatever the current cap is.  This is
compatible with the H-P definition.  (gxstroke.c)

Implements non-zero dot length for dash patterns.  (gxpdash.c)

Splits off the curve flattening algorithms into a separate file.
(gxpcopy.c, gxpflat.c)

</pre>

<hr>

<h2><a name="Version4.39"></a>Version 4.39 (limited) (1/1/97)</h2>

<p>
This version was created only to accompany a release of the PCL XL
interpreter.  It was withdrawn the day after it was released, because the
tools used to produce it put the wrong files in the filesets.

<h3><a name="V4.39_Documentation"></a>Documentation</h3><pre>

Adds a more detailed description of the third-party ps_view viewer
interface.  (new-user.txt)

Corrects an error in a reference to the PSLRM.  (lib.txt)

Documents the change in .makeoperator.  (language.txt)

Updates the FTP location of the zlib sources.  (zlib.mak)

</pre><h3><a name="V4.39_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The Unix library makefile didn't include the necessary definitions
for libpng and zlib.  (ugcclib.mak)

Allows selecting the compression filters for memory-based band lists in the
makefile.  Makes zlib (deflate) the default compressor for memory-based band
lists.  (lib.mak)

</pre><h3><a name="V4.39_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- prfont.ps wouldn't print unencoded characters in Type 42 fonts.
(prfont.ps)

</pre><h3><a name="V4.39_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The H-P monochrome driver didn't put out enough initialization
commands at the beginning of each page to make each page printable
independently.  (gdevdjet.c)

</pre><h3><a name="V4.39_Interpreter"></a>Interpreter</h3><pre>

Changes ref_stack_count_inline so it never does a procedure call.
(istack.h)

Changes .makeoperator so that operator procedures save the stack depths, and
restore the stack pointers (if possible) if the operator encounters an
error.  This is a NON-BACKWARD-COMPATIBLE CHANGE; it requires rewriting the
'stop' and 'stopped' pseudo-operators (and, if there were any, any other
pseudo-operators that interact with the error handling machinery) in C.
(gs_init.ps, interp.c, zcontrol.c)

Adds recognition of the LeadingEdge, MediaClass, and RollFedMedia keys in a
page device dictionary, per the Adobe supplement for their version 2017
interpreter.  This involves a NON-BACKWARD-COMPATIBLE change to the
(undocumented) .matchpagesize operator.  (gs_setpd.ps, zmedia2.c)

Makes necessary changes for compatibility with the added parameters for the
zlib filters.  (zfzlib.c)

</pre><h3><a name="V4.39_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The zlib encoder returned EOFC when it should have returned 0.
(szlibe.c)

Adds optional parameters and reset procedures for the zlib filters.
(szlibx.h, szlibc.c, szlibd.c, szlibe.c)

</pre><h3><a name="V4.39_Library"></a>Library</h3><pre>

Fixes bugs:
	- Displaying characters with a non-standard RasterOp could cause an
invalid memory access.  (gdevdflt.c)
	- Banding sometimes used an incorrect RasterOp.  (gxclread.c)
	- When banding, mixing Patterns and halftones could confuse the
bookkeeping of tile size, leading to incorrect generation of the band list
and error messages or confusion when rasterizing.  (gxclist.h, gxclbits.c,
gxclread.c)
	- If only the dash pattern offset changed, and not any of the other
dash-related parameters, the new offset wasn't written in the band list,
causing incorrect output.  (gxclpath.c)
	- Oversized halftone tiles didn't report their error code properly.
(gxclbits.c)
	- Oversized halftone tiles with RasterOp caused an error.
(gxclist.c)
	- When banding, RasterOp transfers that crossed a band boundary
didn't access the correct source data on bands other than the first.
(gxclist.c)
	- There were redundant copies of the code for writing a RasterOp
value in the band list.  (gxclimag.c, gxclpath.c)
	- Oversized patterns or halftones produced garbled output.
(gxclbits.c)
	- The check for oversized patterns or halftones was slightly
incorrect, leading to the possibility of writing out a tile that would
overflow the reading buffer and corrupt memory.  (gxclbits.c)
	- When banding, RasterOp wasn't applied to fill and stroke
operations, and wasn't applied correctly to characters.  (gdevdflt.c,
gxclimag.c, gxclread.c)
	- The RasterOp-related optimizations for black-and-white images
sometimes produced incorrect output.  (gximage.c, gximage2.c)
	- The default implementation of fill_triangle didn't draw anything
if the corners of the triangle were specified in certain orders (ax &lt; 0 or
bx &lt; 0).  (gdevddrw.c)
	- Painting with a Pattern could pass out-of-range phase values to
driver procedures.  (gspcolor.c)
	- Because of an off-by-1 error, halftones or patterns passed through
the band list could write past the end of their allocated space in the band
tile cache, leading to incorrect output or possible arithmetic exceptions or
memory access errors.  (gsbitops.c)

Adds -Z: for printing only the minimal command list statistics.  (gxclist.c,
gxclread.c)

Expands band list tracing so it includes all of the data associated with the
command, not just the command name and a few command parameters.
(gxclread.c)

Adds free lists for strings.  Currently these are only used in
non-garbage-collected environments.  (gxalloc.h, gsalloc.c, gsnogc.c)

Adds a procedure for copying a path structure, and an (internal) accessor
for the current path in the graphics state.  (gxpath.h, gspath.c, gxpath.c)

Speeds up filling characters with halftones a little bit.  (gdevdflt.c)

Changes the memory-based implementation of band lists so it can use any
compression / decompression filter, so it only compresses when it has
allocated a specified amount of buffer storage, and so it releases its
buffer storage at the end of each page.  (gxclmem.h, gxclmem.c)

Speeds up counting the number of 1-bits in a byte, which is used in some
image processing algorithms.  (gsbittab.h, gsbittab.c)

Reduces the band list space required for changing tile size.  (gxcldev.h,
gxclbits.c, gxclread.c)

</pre>

<h2><a name="Version4.38"></a>Version 4.38 (limited) (12/20/96)</h2>

<p>
Adds support for a couple of undocumented features in Type 1 fonts.

<h3><a name="V4.38_Interpreter"></a>Interpreter</h3><pre>

Adds handling of the Type 1 font subroutineNumberBias (an optional entry in
the Private dictionary) and lenIV = -1 features at the interpreter level.
(zchar1.c, zfont1.c)

</pre><h3><a name="V4.38_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The CCITTFaxEncode filter could access as much as 3 bytes beyond
the end of a buffer, causing an invalid memory access.  (scfe.c)

Changes the RunLengthDecode filter so it can make progress (produce output)
with only a 1-byte output buffer.  (srlx.h, srld.c)

</pre><h3><a name="V4.38_Library"></a>Library</h3><pre>

Fixes bugs:
	- The sine and cosine of multiples of 90 degrees weren't exact.
(gxfarith.h, gsmisc.c)
	- The expanded bounding box computation for strokes didn't take into
account the possibility of overflow.  (gxstroke.c)
	- The allocator didn't fill freed strings with the 'free' mark.
(gsalloc.c)
	- When using a pattern with RasterOp, the phase was computed
incorrectly, leading to anomalous filling patterns.  (gspcolor.c)
	- Patterns with a non-zero translation in the matrix passed to
makepattern didn't translate the pattern origin properly.  (gxcolor2.h,
gxpcolor.h, gspcolor.c)

Adds a subroutineNumberBias field to Type 1 fonts.  This is an undocumented
feature of the Type 1 font format.  (gxfont1.h, gstype1.c)

Interprets lenIV = -1 in Type 1 fonts as meaning that the CharStrings are
unencrypted.  This too is an undocumented feature of the Type 1 format.
(gxfont1.h, gxtype1.h, gstype1.c, gstype2.c)

Changes gs_clippath so it returns more reasonable outlines.  (There are too
many programs that rely on being able to stroke the result of clippath, even
though both the Adobe and H-P literature specifically say the results are
unpredictable.)  (gxcpath.h, gxcpath.c)

</pre>

<h2><a name="Version4.37"></a>Version 4.37 (limited) (12/10/96)</h2>

<p>
This version implements separate halftone phase for source and texture,
required for PCL XL implementation.

<h3><a name="V4.37_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- Loading a native TrueType font without a 'post' table caused an
error.  (gs_ttf.ps)

</pre><h3><a name="V4.37_Interpreter"></a>Interpreter</h3><pre>

Extends the interpreter to handle the new separate halftone phases for the
RasterOp source and texture.  (gs_dps1.ps, zdps1.c)

Makes a small change to accommodate a library change supporting Type 2
charstrings.  (zfont1.c)

</pre><h3><a name="V4.37_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Implements the FontFile2 key for embedded TrueType fonts.  (pdf_font.ps)

Starts to implement the FontFile3 key for compressed Type 1 fonts.  This
code is currently disabled, because none of the necessary underlying C is
written yet.  (pdf_font.ps)

</pre><h3><a name="V4.37_Library"></a>Library</h3><pre>

Fixes bugs:
	- The floating point emulator often returned incorrect results (too
many bugs to list).  (This is not used in any standard configuration.)
(gsfemu.c)
	- The new copy_for procedure for gstates incorrectly declared an
argument as const.  (gxstate.h, gsstate.c)
	- If a curve had to be split twice along the same axis to make it
monotonic, the split points could still be returned in the wrong order,
possibly causing curved edges to turn into straight lines, and the algorithm
still produced the wrong results if the curve had to be split twice along a
single axis.  This is the second time we have "fixed" these problems and the
4th time we have "fixed" the curve monotonizing algorithm.  (gxpcopy.c)
	- Setting halftones cause a memory leak, because the subsidiary
objects of the device halftone weren't freed properly.  Fixing this required
changing the graphics state implementation from allocating a device halftone
for each gstate to managing the device halftone with reference counting.
(gxdht.h, gzstate.h, gsht.c, gsstate.c)

Provides an optimized version of ldexp for FPU-less configurations, and
changes one key algorithm to use it.  (gxfixed.h, gsmisc.c, gxpcopy.c)

Speeds up imagemask with a halftone a little.  (This will eventually require
more serious optimization.)  (gximage2.c)

Adds a -Z* switch for tracing varieties of image rendering.  (gximage.c)

Recognizes that if the logical operation is equivalent to D = S (after
accounting for a constant texture, if any), or if it is equivalent to D = ~S
or D = D {&amp;,|}{S,~S} and D and S are both monobit and both colors are pure,
imaging with RasterOp can be executed without invoking RasterOp.  (gsropt.h,
gximage.c)

Makes coordinate transformations with landscape matrices execute as fast as
with portrait matrices.  (gxmatrix.h, gscoord.c, gsmatrix.c)

Adds some sketch code for interpreting Type 2 charstrings.  It compiles, but
it makes no pretense of being runnable.  (gstype1.h, gxop1.h, gxtype1.h,
gstype2.h, gxfont1.h, gstype1.c, gstype2.c)

Extends the library to allow setting separate halftone phases for the
RasterOp source and texture, which is needed to implement halftone screens
that behave like those in H-P's PCL XL printers.  (gscsel.h, gsstate.h,
gxcmap.h, gxcspace.h, gxdcolor.h, gxdither.h, gxpcolor.h, gzht.h, gzstate.h,
gscie.c, gscsepr.c, gsht.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcolor.c,
gxht.c, gximage.c, gximage[2345].c, gspcmap.c) ****** STILL NEED TO UPDATE
BANDING CODE, grep FOR phase ******

Removes the rc_header member from the gs_halftone structure, since we don't
need it after all.  (gxht.h)

</pre>

<h2><a name="Version4.36"></a>Version 4.36 (limited) (12/3/96)</h2>

<p>
This version fixes a number of library bugs related to RasterOp, Patterns,
and memory management.

<h3><a name="V4.36_Documentation"></a>Documentation</h3><pre>

Changes the definition of texture transparency to match the peculiar H-P
specification.  (drivers.txt, language.txt)

</pre><h3><a name="V4.36_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- x_get_bits didn't flush updates to the frame buffer, leading to
possibly incorrect data being returned.  (gdevx.c)
	- x_get_bits added padding to the scan line being copied, possibly
corrupting memory.  (gdevx.c)

Changes the x11mono driver to define white = 0, black = 1 to more closely
model black-and-white printers.  (This is an internal change that doesn't
affect the output.)  (gdevxalt.c)

</pre><h3><a name="V4.36_Interpreter"></a>Interpreter</h3><pre>

Removes some code that is no longer needed, by virtue of the fix for the
memory leak in Pattern remapping.  (zpcolor.c)

</pre><h3><a name="V4.36_Library"></a>Library</h3><pre>

Fixes bugs:
	- Patterns wider than 1024 bits caused a rangecheck.  (gxclip2.h,
gxclip2.c)
	- Dash patterns never got freed.  The fix for this slows down gsave
and grestore slightly, but we don't see any way around it.  (gsline.c,
gsstate.c)
	- If the CTM was very non-uniform in X and Y, stroke sometimes
didn't recognize thin lines as being thin, leading to dropouts.
(gxstroke.c)
	- RasterOps that didn't use S or T still took S or T transparency
into account.  (gdevmrop.c)
	- RasterOps with no source didn't handle the possibility that the
device color for black might have a value other than 0.  (gxdcolor.h,
gspcolor.c, gxcht.c, gxdcolor.c, gxht.c)
	- White pixels in halftones on black-and-white devices apparently
are *not* supposed to be treated as opaque for RasterOp.  (gxcht.c, gxht.c)
	- clippath caused memory to be lost until a restore or a garbage
collection.  (gspath.c)
	- Clipping lists weren't ever freed, and clipping paths sometimes
weren't freed, causing memory to be lost until a restore or a garbage
collection.  (gzacpath.h, gxacpath.c, gxcpath.c)
	- Freeing a pattern instance referenced a pointer after it had been
freed, causing an invalid memory access.  (gspcolor.c)
	- Remapping a Pattern color lost track of the temporary gstate,
memory devices, and possibly the mask, causing memory to be lost until a
restore or GC.  (gxpcolor.h, gxpcmap.c)
	- Remapping a Pattern color could cause paths to be marked as
shared, preventing them from being freed until a restore or GC.  (gxpcmap.c)

Enhances the non-tracing garbage collector so that if there are no strings
allocated at all, it resets the string allocation pointers.  (gsnogc.c)

Optimizes the black-and-white RasterOp implementation by recognizing cases
that can be implemented directly by fill_rectangle, copy_mono, or
tile_rectangle.  (gdevmrop.h, gsropt.h, gdevmrop.c, gsroptab.c)

Changes -ZA so it no longer produces [P] tracing messages for path
construction.  (gxpath.c)

Adds a gx_pattern_cache_winnow procedure for selectively removing entries
from the Pattern cache, similar to gx_purge_selected_cached_chars.
(gscolor2.h, gxpcolor.h, gxpcmap.c)

Adds the Pattern UID to Pattern cache entries.  (gxpcolor.h, gxpcmap.c)
****** MUST HANDLE XUID POINTERS ON GC (RELOC) &amp; RESTORE (CLEAR LIKE HT
CACHE) ******

Makes gs_gstate free the path representation of the clipping path if it's a
rectangle, since reconstructing it is cheap and otherwise the path segments
would not be freeable until a restore or GC.  (gsstate.c)

Extends the "client data" interface for gstates so that the copy procedure
can determine why it is being called.  (gxstate.h, gsstate.c)

</pre>

<h2><a name="Version4.35"></a>Version 4.35 (limited) (11/24/96)</h2>

<p>
This contains the usual bug fixes, and two minor enhancements: an option for
handling EPSF files with binary headers, and support for file-based
resources.

<h3><a name="V4.35_Documentation"></a>Documentation</h3><pre>

Documents the new EPSF-reading capability.  (gs.mak)

</pre><h3><a name="V4.35_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Some obsolete definitions were accidentally left in the rules for
compiling fonts into the executable.  (int.mak)

</pre><h3><a name="V4.35_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- initgraphics left the current color space in an inconsistent
state.  (bug introduced in 4.32) (zgstate.c)
	- restore didn't properly rebind FontDirectory to either Local or
SharedFontDirectory according to the current VM selection.  (gs_dps1.ps)
	- If FontDirectory was redefined, many things broke.  (gs_ccfnt.ps,
gs_dps1.ps, gs_fonts.ps, gs_pdfwr.ps)
	- If a resource provided a file name but the file couldn't be
opened, an error occurred.  (gs_res.ps)
	- flushfile didn't work with procedure-based streams.  (zfileio.c)

Adds a feature (epsf.dev) that allows the interpreter to recognize and
handle MS-DOS EPSF files with a binary header.  (int.mak, gs_epsf.ps,
gs_init.ps, pdf_main.ps)

Adds (internal) .getuserparam and .getsystemparam operators for getting the
value of a single user or system parameter.  (gs_lev2.ps, zusparam.c)

To support file-based resources, implements the FontResourceDir,
GenericResourceDir, and GenericResourcePathSep system parameters, and
ResourceFileName for the built-in resource categories.  (gs_init.ps,
gs_lev2.ps, gs_res.ps)

</pre><h3><a name="V4.35_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The 2-D CCITTFaxDecode filter became confused if a buffer boundary
fell between a horizontal make-up code and its terminating code, typically
causing an ioerror.  (scfd.c)

</pre><h3><a name="V4.35_Library"></a>Library</h3><pre>

Fixes bugs:
	- Using the null color could confuse the reference counts for color
spaces, causing memory access errors.  (gscolor.c)
	- Images with CombineWithColor = true caused memory access error,
because a structure element wasn't initialized.  (gdevmrop.c)
	- gs_setnullcolor tried to return an error code, even though it was
declared as returning void.  (Why doesn't gcc catch this??)  (gscolor.h,
gscolor.c)
	- gs_setnullcolor was declared inconsistently as taking a const or
non-const argument.  (gscolor.h)
	- Small color tiles in the band list were not read in correctly.
(gxclread.c)
	- The band list could get confused, causing ioerrors, invalid memory
accesses, or garbled output, because the algorithms for computing the size
of bitmaps when writing and when reading had gotten inconsistent.  This code
has been broken and "fixed" at least 4 or 5 times.  (gxcldev.h, gxclbits.c,
gxclread.c)
	- When using banding, characters that extended off the page
vertically in the -Y direction came out garbled.  (gxclimag.c)
	- The bounding box device didn't compute the box correctly for
trapezoids.  (gdevbbox.c)
	- The fastest case of rendering monochrome images could cause
unaligned data accesses.  (bug introduced recently.)  (gximage.h,
gximage1.c)
	- TrueType characters with no contours could cause an invalid memory
access.  (gstype42.c)
	- Composite TrueType characters weren't rendered properly.
(gstype42.c)

Adds a get_outline procedure to the Type 42 font header, to provide a
callback for getting the outline data for a glyph.  (gxfont42.h, gstype42.c)

</pre>

<h2><a name="Version4.34"></a>Version 4.34 (limited) (11/18/96)</h2>

<p>
This release adds a little more support for CID-keyed fonts and for PCL
emulation, and a bit more of the machinery for passing images through the
band list.

<h3><a name="V4.34_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The RasterOp source device wasn't listed as an internal device in
drivers.txt.  (drivers.txt)

Corrects a statement regarding the pstotext license.  (new-user.txt)

</pre><h3><a name="V4.34_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The Watcom makefile for the library didn't work properly if
certain variables were overridden from the command line.  (watclib.mak)
	- The library code inadvertently depended on an interpreter header
file.  (*.mak)

</pre><h3><a name="V4.34_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- Some very picky compilers complained about assigning 0 to a
variable of an enum type.  (gdevpdfx.h, gdevpdf.c)

</pre><h3><a name="V4.34_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Some very picky compilers didn't like a cast from a pointer type
to an int type.  (idebug.c)
	- Some very picky (and non-ANSI-compliant) compilers didn't allow
assigning an int to a variable of enumerated type.  (zfont2.c, zht2.c)
	- The library code inadvertently depended on an interpreter header
file.  (iref.h)

Restructures the font building code slightly to support CID fonts better.
(gs_cidfn.ps, bfont.h, zcid.c, zfont0.c, zfont1.c, zfont2.c, zfont42.c)

Adds a .setcurrentfile operator to allow disk-based fonts to keep their file
open.  (gs_cidfn.ps, zcontrol.c)

</pre><h3><a name="V4.34_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- Some very picky compilers didn't like the computation (const byte
*)0 - 1.  (stream.c)
	- A cast to ulong was omitted.  (smtf.c)
	- Some compilers got confused by typedefs in the zlib header files.
(szlibd.c, szlibe.c)

</pre><h3><a name="V4.34_Library"></a>Library</h3><pre>

Fixes bugs:
	- A header file didn't select the proper system header on all POSIX
systems.  (malloc_.h)
	- A subclass/superclass type discrepancy upset some compilers.
(gsline.h, gsline.c, gxpdash.c)
	- Some very picky compilers didn't accept the previous definition of
the offset_of macro.  (stdpre.h)
	- Some very picky (and non-ANSI-compliant) compilers didn't like
mixing int and enumerated types.  (gsropt.h, gzstate.h, gdevmrop.c,
gdevrrgb.c, gsrop.c, gxclist.c)
	- A cast was missing.  (gslib.c)
	- The gs_setxxxtransparent procedures interpreted their argument
backwards (i.e., as "opaque" rather than "transparent").  (gsrop.c)
	- Intersecting clipping paths didn't reset the logical operation to
the default, causing a possible crash.  (gsrop.h, gsrop.c, gxacpath.c)
	- Pattern accumulation didn't reset the logical operation to the
default, possibly causing incorrect output.  (gspcolor.c)
	- If a Type 1 character ended with a curve and a closepath, a
microscopic line could result, causing output anomalies.  (gstype1.c)
	- Stroking a path with a mix of thin and non-thin lines could cause
extraneous lines to appear.  (gxstroke.c)
	- Zero-width rectangles were painted even when fill adjustment was
turned off.  (gxpaint.c, gxstroke.c)
	- The algorithm for dividing a curve into monotonic pieces could
produce incorrect results, causing anomalies when filling curved regions
with zero fill adjustment.  (gxpcopy.c)
	- The algorithms for outside clipping were wrong, causing some
inside regions not to be clipped.  (gxcpath.c)
	- The white pixels in halftones weren't treated as unconditionally
opaque for RasterOp.  (gxht.c, gxcht.c)
	- Images with RasterOp didn't work properly.  (gdevmrop.c,
gximage[2345].c, gxpcmap.c)
	- The library code inadvertently depended on an interpreter header
file.  (gxalloc.h, genarch.c)
	- An important optimization for stroking (recognizing portrait,
landscape, and unscaled CTMs) was commented out.  WE DON'T HAVE ANY RECORD
OF WHY WE DID THIS, AND RESTORING IT MAY INTRODUCE NEW BUGS.  (gxstroke.c)
	- Bitmap images with non-zero data_x values were passed through the
band list incorrectly, possibly causing vertical "streaks" in the output.
(gxcldev.h, gxclread.c)
	- If a curve had to be split twice along the same axis to make it
monotonic, the split points were returned in the wrong order, possibly
causing curved edges to turn into straight lines.  (gxpcopy.c)

Changes the debugging printout format for paths so the output can be
processed mechanically more easily.  (gxpath.c)

Adds gs_glyphpath, like charpath but taking a glyph rather than a string of
character codes.  (gschar.h, gschar.c)

Adds an internal concept of a "null color", a color that doesn't actually
mark any pixels.  (gscolor.h, gsdcolor.h, gxdcolor.h, gscolor.c, gxdcolor.c)

Takes the next incremental steps towards passing images through the band
list:
	- Implements the ability to pass some color mapping information
(transfer functions, black generation, undercolor removal) through the band
list.  (gxclist.h, gxclimag.c, gxclist.c, gxclread.c)

</pre>

<h2><a name="Version4.33"></a>Version 4.33 (limited) (11/6/96)</h2>

<p>
This release fixes yet another obscure bug in the recently rewritten fast
loops for image rendering.  (These loops have caused more problems than any
other single module of the entire library.)  It also adds preliminary
support for CID-keyed fonts (CIDFonts only, not CMaps yet) and some library
extensions for supporting HP-GL/2.

<h3><a name="V4.33_Documentation"></a>Documentation</h3><pre>

Adds considerable new material to the C style document.  (c-style.txt)

Changes -cckr to -ansi in the SGI build procedure.  (make.txt)

Corrects an error in the description of the .type42execchar operator.
(gs_typ42.ps)

</pre><h3><a name="V4.33_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The 'man' pages were installed in the documentation directory as
well as in the man directory.  (unix-end.mak)

</pre><h3><a name="V4.33_Interpreter"></a>Interpreter</h3><pre>

Adds support for CID-keyed fonts.  There is no CMap support yet, and some
things are done with hacks.  (int.mak, gs_cidfn.ps, gs_cmap.ps, ichar.h,
zchar.c, zchar2.c, zchar42.c, zfont2.c, zfont42.c, zcid.c)

Adds operators for accessing the new dash adaptation and dot length
parameters in the graphics state.  (gs_init.ps, zgstate.c)

</pre><h3><a name="V4.33_Library"></a>Library</h3><pre>

Fixes bugs:
	- The fast case of monobit image rendering could overwrite memory.
(gximage1.c)
	- The new fast implementation of rectfill didn't check for
fixed-point overflow.  (gsdps1.c)
	- Internally, fonts with no name all appeared to have the same name,
possibly confusing the xfont machinery.  (gxccman.c)
	- A cast to remove const was omitted, upsetting some compilers.
(gximage1.c)
	- The driver's stroke_path routine was not called if the logical
operation was not the default one.  (gxpaint.c)

Adds support for CID-keyed fonts.  (gsccode.h, gxfont.h)

Adds a new "dash pattern adaptation" flag in the imager state.  When this
flag is set and a dash pattern is in effect, each line segment will receive
an integral number of repetitions of the dash pattern (if necessary, rounded
up).  (gsline.h, gxline.h, gsline.c, gsstate.c, gxpdash.c)

Adds a new "dot length" parameter to the imager state.  If this parameter is
non-zero, it gives a length for rendering dots (zero-length lines).  See
language.txt for details.  (gsline.h, gxline.h, gsline.c, gsstate.c,
gxstroke.c)

Extends band lists so they can handle dash pattern adaptation and dot
length.  (gxcldev.h, gxclpath.h, gxclpath.c, gxclread.c)

Adds a floating point emulator to allow more realistic profiling of
configurations without a FPU.  (gsfemu.c)

</pre>

<h2><a name="Version4.32"></a>Version 4.32 (limited) (11/1/96)</h2>

<p>
This fixes a couple more bugs, most notably the infamous "pixel stripe" bug.

<h3><a name="V4.32_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The documentation said that Ghostscript could not interpret
encrypted PDF files.  (language.txt)
	- A number of Ghostscript's extensions to the PostScript language
were missing.  (language.txt)

</pre><h3><a name="V4.32_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A compiler complained about initializing an unsigned variable with
a negative value.  (gdevx.c)
	- An off-by-1 allocation error could cause memory overwriting.
(gdevepsc.c)

</pre><h3><a name="V4.32_Platforms"></a>Platforms</h3><pre>

Declares a pointer 'const' that is actually only used for reading.
(gp_unifs.c)

</pre><h3><a name="V4.32_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- The code for adding nominal UnderlinePosition and
UnderlineThickness entries to FontInfo assumed (incorrectly) that all Type 1
fonts had FontBBox entries.  (gs_type1.ps)

Brings CIDFont support closer to reality.  It doesn't work yet, though.
(gs_cidfn.ps, gs_fonts.ps, gs_init.ps, gs_res.ps, gs_typ42.ps)

</pre><h3><a name="V4.32_Interpreter"></a>Interpreter</h3><pre>

Removes a redundant implementation of initgraphics.  (gs_init.ps)

Speeds up rectfill a little for the common case (4 numbers on the stack).
(zdps1.c)

</pre><h3><a name="V4.32_Library"></a>Library</h3><pre>

Fixes bugs:
	- Zero-width, 1-bit-deep, landscape or portrait images could
overwrite memory ad lib.  (gximage1.c)
	- A procedure was declared 'static' inconsistently, upsetting many
compilers (but not gcc, which, in contradiction to the ANSI standard,
doesn't check this properly).  (gxcpath.c)
	- A local variable was initialized with a value computed from a
variable that hadn't been set yet, leading to possibly incorrect coloring of
the first run of pixels in images with 12 bits per sample.  (gximage4.c)
	- A compiler complained about initializing an unsigned variable with
a negative value.  (shcgen.c)
	- A rounding problem could produce a vertical stripe of 1 (or on
very large images possibly more) incorrect pixels at the right edge of a
1-bit-deep image.  (gxdda.h, gximage1.c)

Speeds up gs_rectfill substantially for the portrait/landscape case with a
rectangular clipping region.  (gsdps1.c)

Adds a parameter so we can include gx_line_params in subclasses.  (gzline.h)

</pre>

<h2><a name="Version4.31"></a>Version 4.31 (limited) (10/27/96)</h2>

<p>
This is primarily a bug fix release for 4.30, which we had hoped wouldn't be
necessary....

<h3><a name="V4.31_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The comment describing the order of coefficients in a CTM written
on the band list was wrong.  (gxclpath.h)

</pre><h3><a name="V4.31_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- bug-form.txt wasn't installed by 'make install'.  (unix-end.mak)
	- The default flags in ugcclib.mak didn't take the gcc code
generation bug into account.  (ugcclib.mak)

</pre><h3><a name="V4.31_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- MetroWerks CodeWarrior predefines true and false, causing
compilation errors on the Mac.  (stdpre.h)

</pre><h3><a name="V4.31_Interpreter"></a>Interpreter</h3><pre>

Updates code for the change in the ENUM_PTR macros.  (iscan.c)

Changes the allocator to keep track of "lost" ref space separately, to allow
an independent check on its activities.  (gxalloc.h, ialloc.c, isave.c)

Changes the garbage collector API slightly to allow implementation of the
API in applications other than PostScript interpreters.  (ivmspace.h,
ireclaim.c, igc.c)

</pre><h3><a name="V4.31_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Implements the PDF 1.1 BX and EX operators.  (pdf_base.ps, pdf_main.ps)

</pre><h3><a name="V4.31_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- Some (harmless) pointer incompatibilities upset some compilers.
(szlibd.c, szlibe.c)

Updates code for the change in the ENUM_PTR macros.  (stream.c)

</pre><h3><a name="V4.31_Library"></a>Library</h3><pre>

Fixes bugs:
	- A label in the ENUM_PTR procedure generating macros was often not
referenced, leading to compiler warnings.  (gsstruct.h, gxxfont.h,
gdevmem.c, gschar.c, gscolor2.c, gsdevice.c, gsfont0.c, gsht.c, gsstate.c,
gxcpath.c, gximage.c)
	- Using the gstate version of setflat rather than the imager version
caused compiler warnings (and, in some cases, errors).  (gstype1.c)
	- Non-standard ImageMatrix values for banded images didn't work.
(This wasn't actually used.)  (gxclread.c)
	- imagemask with a halftone and portrait orientation colored some
inappropriate pixels.  (bug introduced in 4.30) (gximage2.c)
	- When banding, if a character straddled a band boundary the first
time it occurred, all occurrences of it were clipped.  (bug introduced in
4.2x or 4.30) (gxclimag.c)
	- Degenerate clipping rectangles sometimes got turned into
non-degenerate ones by swapping the min and max coordinates.  (gxcpath.c)
	- Resizing an object either allocated a new object unnecessarily
(performance bug only), or in very rare cases could corrupt memory.
(gsalloc.c)
	- Very small objects didn't get put on a free list when freed.
(Performance bug only.) (gsalloc.c)
	- Some pointers were incorrectly declared 'const', upsetting some
compilers.  (gxclread.c)

Adds more tracing output for -ZL.  (gxclread.c)

Changes the -Za tracing output slightly to aid mechanical analysis of
allocation traces: allocation events now always include a '+', deallocation
events always include a '-', and the address is always the address of the
object data and not the header.  (gsalloc.c, gsmemory.c)

Changes the allocator to keep track of "lost" object and string space
separately, to allow an independent check on its activities.  (gxalloc.h,
gsalloc.c)

Changes the allocator to use 'memmove' in an obvious place.  (gsalloc.c)

Provides a garbage collector API at the library level to allow
implementation of the API in applications other than PostScript
interpreters.  (gsgc.h)

</pre>

<h2><a name="Version4.30"></a>Version 4.30 (limited) (10/23/96)</h2>

<p>
The main purpose of this release is to implement a substantial change in the
"high level" image API, after which we believe this API will be stable.

<h3><a name="V4.30_Documentation"></a>Documentation</h3><pre>

Documents the changes in the begin_image and image_data device procedures.
(drivers.txt)

</pre><h3><a name="V4.30_Drivers"></a>Drivers</h3><pre>

Speeds up the PDF writer a little by reducing the amount of allocation,
which was causing very frequent garbage collections.  (gs_pdfwr.ps,
gdevpdft.c)

Updates the PDF writer for the change in begin_image/image_data.
(gdevpdfi.c)

</pre><h3><a name="V4.30_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- Some versions of the SGI IRIX compiler have a bug that causes them
to try to expand macros that require arguments even when the macro name
isn't followed by a left parenthesis.  (gdevsgi.h, gdevsgi.c)
	- The IBM RS6000 compilers now provide &lt;stdlib.h&gt;, so our
definitions of malloc and free caused a conflict.  (malloc_.h)

</pre><h3><a name="V4.30_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- Many Fontmaps included obsolete references to an old
Helvetica-Narrow font.  (Fontmap.*)

Makes the GS_FONTPATH directory scanner a little more liberal about what
files it examines: it will now examine any file whose first line begins with
%!PS-Adobe or %!FontType.  (gs_fonts.ps)

To match an apparent Adobe convention, augments findfont so that if a font
isn't in the Fontmap, it will try to load a file whose name is the same as
the font name.  (gs_fonts.ps)

To make some questionable Apple font inquiry code work, augments the
FAKEFONTS facility so that it sets the FontType of fake fonts to 1.
(gs_fonts.ps)

</pre><h3><a name="V4.30_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- .checkpassword, .putdeviceparams, .putdevparams, setsystemparams,
and setuserparams didn't free the results byte array, causing a memory leak
(until the next garbage collection).  (zdevice.c, ziodev.c, zusparam.c)

</pre><h3><a name="V4.30_Library"></a>Library</h3><pre>

Fixes bugs:
	- The code for emulating floating point multiplication with
conversion to fixed point didn't detect overflow correctly, which could
produce incorrect results instead of a limitcheck.  (gsmisc.c)
	- A macro cast a pointer incorrectly, leading to spurious compiler
warnings.  (gxfixed.h)
	- The code for emulating fixed-to-float conversion computed the
exponent incorrectly.  (gsmisc.c)
	- The algorithm for advancing a DDA a given number of steps (not
actually used anywhere before this version) was wrong.  (gxdda.h)
	- The clipping box returned by clipping devices was incorrect,
causing parts of the page to disappear.  (bug introduced in 4.20)
(gxcpath.c)

Changes the begin_image and image_data device procedures:
	- begin_image now takes an optional subrectangle instead of a set of
shape flags.
	- image_data now always takes complete rows of pixels, takes a
source X offset, and returns 1 when it has received all the data.

The change in begin_image and image_data is a NON-BACKWARD-COMPATIBLE CHANGE
IN A PUBLIC INTERFACE; however, this interface was still designated "subject
to change", per the notes for release 3.67 and the documentation in
drivers.txt.  (gsiparam.h, gxclpath.h, gxdda.h, gxdevice.h, gximage.h,
gdevbbox.c, gdevnfwd.c, gsimage.c, gxclimag.c, gxclread.c, gximage.c,
gximage?.c)

</pre>

<hr>

<h2><a name="Version4.21"></a>Version 4.21 (limited) (10/17/96)</h2>

<p>
The purpose of this release is to fix bugs reported in 4.0x, 4.10, and 4.20.

<h3><a name="V4.21_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The Ghostscript man page had a .TH in the middle.  (gs.1)

</pre><h3><a name="V4.21_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The shared version of zlib was always called libgz; on most
systems, it is now called libz (but not on Red Hat Linux, where libz is a
library for dealing with time zones).  (*.mak, gs.mak, libpng.mak, zlib.mak)
	- The pdf2dsc.1 man page wasn't installed on Unix systems.
(unix-end.mak)
	- font2c generated procedures named gsf_xxx, but genconf assumed
they were named gs_f_xxx.  (int.mak)

</pre><h3><a name="V4.21_Drivers"></a>Drivers</h3><pre>

Updates the user-contributed LBP-8II driver to correct unspecified problems.
(gdevlbp8.c)

Adds a user-contributed driver for Avance Logic SuperVGA cards.
(gdevsvga.c, devs.mak)

</pre><h3><a name="V4.21_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- On Windows NT, a 32-bit parameter was truncated to 16 bits,
preventing drawing of scroll bars of the image window when the window is
uncovered.  (dwimg.cpp)

</pre><h3><a name="V4.21_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- The free URW Grotesk and Antiqua fonts were omitted from the
distribution.

</pre><h3><a name="V4.21_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Defining a new global instance of a built-in resource
(ColorRendering, ColorSpace, Form, Halftone, Pattern, ProcSet) caused an
invalidaccess error.  (gs_res.ps)
	- pathbbox with no current path left an extra item on the stack when
the error occurred.  (gs_init.ps)
	- findresource for an undefined resource instance didn't preserve
the contents of the stack.  (gs_res.ps)

Adds a new file providing a procedural interface with a very rudimentary
form of job encapsulation.  (gserver.c)

Changes the initial value of MaxOpStack to 20000, for the sake of a few
badly-behaved files.  (gs_init.ps, pdf_base.ps)

</pre><h3><a name="V4.21_Library"></a>Library</h3><pre>

Fixes bugs:
	- If the image operators failed to allocated their bookkeeping
structure, the result was a crash rather than VMerror.  (gximage.c)
	- gx_default_fill_triangle (currently used only to implement the
fastest case of stroke) had a typo that could cause a numeric exception or
incorrect output, and another typo that could produce incorrect output.
(gdevddrw.c)
	- When banding, if the first occurrence of a character fell partly
off the page, all occurrences of that character on the page could be clipped
or mangled.  (gxclbits.c, gxclimag.c)
	- When testing whether it's worthwhile compressing a bitmap for
banding, the compressor was allowed to generate a lot more output than
needed to make the test.  (gxclbits.c)
	- Certain cases of unrotated gray-scale images dropped the first or
last pixel of each scan line.  (gximage2.c)
	- In rare cases, a run of pixels in a image could get erroneously
displayed in the same color as the previous run, because of a cache
bookkeeping bug.  (gximage3.c)
	- The sample driver for the library had gotten inconsistent with a
header file.  (gslib.c)
	- A declaration was followed by an extraneous semicolon, which upset
some compilers.  (gxht.h)
	- Missing parentheses caused a test for thin lines to be incorrect.
(gxstroke.c)

</pre>

<h2><a name="Version4.20"></a>Version 4.20 (limited) (10/13/96)</h2>

<p>
This release has internal changes for future support of banded image
processing, but no externally visible changes.  Its primary purpose is to
incorporate speedups for clipped images.  It does *not* incorporate fixes
for all problems reported in 4.0x or 4.10.

<h3><a name="V4.20_Documentation"></a>Documentation</h3><pre>

Documents the new get_clipping_box device procedure.  (drivers.txt)

</pre><h3><a name="V4.20_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- There were many, many minor inconsistencies between the makefiles
and the source code.  (We finally have an automated tool to detect these.)
(devs.mak, int.mak, lib.mak, unixtail.mak; gsutil.c, zwppm.c)
	- Some makefile rules weren't properly terminated by a blank line.
(lib.mak)

</pre><h3><a name="V4.20_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- The comments in gslp.ps had gotten out of date.  (gslp.ps)

Adds --no-eject-file and --no-eject-formfeed switches to gslp.ps, to allow
packing files in multi-column printouts.  (gslp.ps)

</pre><h3><a name="V4.20_Drivers"></a>Drivers</h3><pre>

Adds a user-contributed driver for the Epson LP-8000 laser printer.
(gdevlp8k.c)

Adds a DisplayMode parameter to the vgalib device.  (gdevvglb.c)

Removes the requirement of typing a character at the end of each page using
the vgalib driver.  THIS IS A USER-VISIBLE, NON-BACKWARD-COMPATIBLE CHANGE.
(gdevvglb.c)

</pre><h3><a name="V4.20_Interpreter"></a>Interpreter</h3><pre>

Updates code to accommodate the new get_clipping_box device procedure.
(zupath.c)

</pre><h3><a name="V4.20_Library"></a>Library</h3><pre>

Fixes bugs:
	- When a CTM was passed through the band list, it didn't get
translated to match the band coordinate system.  (This had no effect,
because the translation part of the CTM was never used.)  (gxclread.c)

Adds a ',' debugging switch to disable high-level operations when banding.
(gxclpath.c)

Adds an optional get_clipping_box device procedure, so that filling and
stroking can clip more aggressively.  (gdevmem.h, gdevprn.h, gxdevice.h,
gxpaint.h, gxpath.h, gzacpath.h, gdevdflt.c, gdevht.c, gdevnfwd.c,
gxacpath.c, gxclip2.c, gxclist.c, gxcpath.c, gxpcmap.c, gxfill.c,
gxstroke.c)

Speeds up clipped filling and stroking, by checking against the device
clipping box.  (gxfill.c, gxstroke.c)

Adds the ability to clip with a rectangle a clipping path being accumulated,
and uses it to do more aggressive clipping when banding.  (gzacpath.h,
gxacpath.c, gxclread.c)

Speeds up clipping of objects lying partly above or below the clipping
region.  (gxcpath.c)

Speeds up clipping vertically-oriented objects (such as 90 degree rotated
images or vertical rectangles) with convex clipping regions, by checking for
vertical rectangles contained in multiple clipping rectangles.  (gxcpath.c)

Speeds up the handling of 90 degree rotated gray-scale images.  (gximage2.c)

Enhances the band list so that it can contain commands for a range of bands,
not just a single band or all bands.  (gxcldev.h, gxclist.h, gxclbits.c,
gxclist.c, gxclread.c)

Adds an operation to the DDA structure, for eventual support of clipped
images.  (gxdda.h)

Factors out some macros useful for generating bit-transformation tables.
(gsbittab.h, gsbittab.c, gsflip.c)

</pre>

<hr>

<h2><a name="Version4.10"></a>Version 4.10 (limited) (9/25/96)</h2>

<p>
This release adds local garbage collection, and a number of performance
improvements for garbage collection in general.  We will support it for one
or two OEMs, but it is not a public release.

<h3><a name="V4.10_Documentation"></a>Documentation</h3><pre>

Moves documentation for all releases before 4.0 to history3.txt.  (NEWS,
history3.txt)

</pre><h3><a name="V4.10_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- pdf2dsc.ps didn't have a proper license notice.  (pdf2dsc.ps)

</pre><h3><a name="V4.10_Drivers"></a>Drivers</h3><pre>

Adds a psgray driver, like psmono, to produce 8-bit gray PostScript (level
1) images.  (devs.mak, *.mak, gdevpsim.c)

Changes the psmono driver to allow runs of up to 255 repeated bytes.
(gdevpsim.c)

</pre><h3><a name="V4.10_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- setdevice erased the page even if this wasn't necessary.
(zdevice.c)

Speeds up the garbage collector, primarily by speeding up pointer
relocation.  (int.mak, ipacked.h, iref.h, ialloc.c, igc.c, igcref.c)

Actually implements local garbage collection.  (igc.h, ivmspace.h, igc.c,
igcref.c, igcstr.c, ireclaim.c)

Adds some additional error checking for the -Z? switch.  (ilocate.c)

Moves a utility for color mapping from the interpreter to the library.
(icolor.h, zcolor.c)

Adds a MinScreenLevels user parameter.  (zusparam.c)

</pre><h3><a name="V4.10_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Adds partial support for the PDF 1.2 gs operator, reverse engineered from a
PDF 1.2 file.  (pdf_draw.ps)

</pre><h3><a name="V4.10_Library"></a>Library</h3><pre>

Fixes bugs:
	- The test for "thin" stroked lines incorrectly claimed some
non-thin lines were thin.  (gxstroke.c)
	- The computations for halftone cells didn't work for non-square
pixels.  (gxdht.h, gsht.c, gsht1.c, gshtscr.c)

Speeds up the garbage collector a little.  (gsstruct.h, gxalloc.h,
gxfcache.h, gsfont.c)

Replaces references to private statically allocated color spaces with
references to shared dynamically allocated ones, which are guaranteed to be
fully filled-in.  (gscie.c)

Moves a utility for color mapping from the interpreter to the library.
(gxfmap.h, gxcmap.c)

Makes available an imager analogue of setmatrix.  (gscoord.h, gscoord.c)

Adds a parameter to control the minimum number of halftone screen levels.
If a halftone cell has fewer pixels than this number, it will be replicated
(similar to what AccurateScreens does) until the replicated screen has
enough levels.  (gxht.h, gshtscr.c)

</pre>

<hr>

<h2><a name="Version4.03"></a>Version 4.03 (9/23/96)</h2>

<p>
This was an emergency re-release of 4.02 to fix the stdin redirection
problem.  It has essentially no other changes.

<h3><a name="V4.03_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Solaris 2.x has /usr/ucb/install, not installbsd.  (make.txt)

Updates current.txt to mention the ability to share libpng and libgz.
(current.txt)

</pre><h3><a name="V4.03_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- A rule assumed that the makefile was named `makefile'.
(unixtail.mak)

</pre><h3><a name="V4.03_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The stcolor drivers had an off-by-1 error that could cause them to
write into unallocated memory.  (gdevstc.c)
	- The Imagen driver wouldn't compile with gcc.  (gdevimgn.c)

</pre><h3><a name="V4.03_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- The Solaris fontmap had gotten out of date.  (Fontmap.Sol)

</pre><h3><a name="V4.03_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The test for stdin being non-seekable could leave the file error
flag set, which caused an infinite loop when trying to read from the file
later.  (sfile.c, sfileno.c)

</pre>

<h2><a name="Version4.02"></a>Version 4.02 (9/19/96)</h2>

<p>
This release fixes a few more bugs, and adds the ability to read encrypted
PDF files and some PDF 1.2 files.

<p>
This release was withdrawn after a few days because the stdin redirection
fix, which was made at the last minute, cause Ghostview to hang.

<h3><a name="V4.02_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The list of required support files was incorrect.  (install.txt)
	- The descriptions of file name lookup weren't accurate.  (use.txt)
	- A J should have been an H.  (gxbitmap.h)

Updates the documentation about encrypted PDF files.  (new-user.txt)

Documents what the 13 base PDF fonts are.  (ps2pdf.txt)

Fixes a tiny typo.  (c-style.txt)

Adds a user-contributed man page for the new pdf2dsc script.  (pdf2dsc.1)

Updates the government restricted rights notice in the Aladdin Ghostscript
Free Public License.  (PUBLIC)

Adds the URL of test files to the bug report form.  (new-user.txt)

Puts the bug reporting form in a separate file.  (readme, bug-form.txt,
new-user.txt)

Notes that map_xxx_color procedures should not return gx_no_color_index.
(drivers.txt)

Notes that Ghostscript supports the Flate filters.  (language.txt)

Documents the use of the system libpng and zlib.  (make.txt, gs.mak)

Notes that Borland C++ 5.0 and 5.01 will not compile Ghostscript correctly.
(make.txt)

</pre><h3><a name="V4.02_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Using both DELAYBIND and SAFER caused problems.  (pstotext uses
DELAYBIND.)  (gs_init.ps)

</pre><h3><a name="V4.02_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- Some pdf2ps machinery interfered with the PDF interpreter.
(pdf_2ps.ps, pdf_main.ps)
	- In the output of pdf2ps, page numbers in link destinations were
too high by 1.  (pdf_main.ps)
	- viewpbm didn't handle value ranges other than [0..255] correctly.
(viewpbm.ps)

Adds a user-contributed shell script to invoke pdf2dsc.ps.  (pdf2dsc,
unix-end.mak)

Adds a switch to the genconf utility to set the prefix for generated
procedure names.  (genconf.c)

Adds the option of using system libraries (possibly shared) for libpng
and/or zlib.  (*head.mak, msc*.mak, os2.mak, tccommon.mak, wccommon.mak;
libpng.mak, zlib.mak)

</pre><h3><a name="V4.02_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The X11 display devices ignored the -DA4 compile-time option.
(gdevx.c)
	- The garbage collector could scramble the state of the CGM drivers.
(gxdevice.h, gdevcgm.c)
	- An identifier of more than 31 characters upset the VAX DEC C
compiler.  (gdevcgml.h, gdevcgml.c)
	- In case of an error in trying to set the CoreDistVersion distiller
parameter, a variable could be used without initialization.  (gdevpdfp.c)
	- When DEBUG is selected, the X Windows driver referenced _Xdebug,
which is not defined in (at least the VMS version of) DECWindows.  (x_.h,
gdevxini.c)
	- Some map_cmyk_color implementations could return "transparent".
(gdevbit.c)
	- Setting GraphicsAlphaBits or TextAlphaBits in the P*M drivers
caused an error.  (gdevpbm.c)
	- If a user cancelled printing under MS Windows, a confusing error
resulted, and a temporary file wasn't deleted.  (gdevwpr2.c)
	- The map_color_rgb procedure for the bit devices produced incorrect
results.  (This probably had no effect in practice.)  (gdevbit.c)
	- The os2prn device produced incorrect output.  (gdevos2p.c)
	- The OS/2 PM device didn't detect PM applications correctly.
(gdevpm.c)
	- The MS Windows printer driver didn't automatically detect the
printer's color capabilities.  (gdevwpr2.c)
	- The BJC-610 driver didn't print at 720 dpi.  (gdevcdj.c)
	- The static prototypes of many devices didn't include the far_data
keyword.  (gdev3852.c, gdev4081.c, gdevbgi.c, gdevcgm.c, gdevht.c,
gdevimgn.c, gdevl256.c, gdevmrop.c, gdevn533.c, gdevnfwd.c, gdevnp6.c,
gdevo182.c, gdevpcfb.c, gdevpdf.c, gdevpe.c, gdevpm.c, gdevs3ga.c,
gdevsnfb.c, gdevsppr.c, gdevsun.c, gdevsvga.c, gdevtknk.c, gdevvglb.c,
gdevwddb.c, gdevwprn.c, gdevx.c, gdevxalt.c)
	- The (original) deskjet driver collapsed print lines towards the
left margin.  (gdevdjet.c)

Adds to the pgm/pgnm/ppm/pnm[raw] drivers the ability to set the maximum
pixel value, by setting any of the Gray/Red/Green/BlueValues device
parameters.  (gdevpbm.c)

Adds pkm[raw] drivers, which do all their internal computations in CMYK and
convert the data to RGB as they write the file.  (gdevpbm.c)

</pre><h3><a name="V4.02_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The VMS script referred to old versions of the third-party
libraries.  (vms.mak)
	- Under VMS with DEC C, attempting to open a new file fails.
(gp_vms.c)
	- If you tried to print (gp_printfile) under Windows on a system
with no printers installed, Ghostscript caused a GPF.  (gp_mswin.c)

Restores support for a non-DLL MS Windows platform.  (bcwin32.mak,
dwnodll.cpp)

Adds a new MS Windows DLL call, gsdll_get_bitmap.  (gsdll16.def,
gsdll32.def, dll.txt, gdevwdib.c)

Fixes a variety of other small Windows- and OS/2-related problems, mostly
related to printing.  (gp_mswin.h, dpmainc.c, dwmain.cpp, dwmainc.cpp,
gdevmswn.c, gdevpm.c, gdevwpr2.c, gp_mswin.c)

</pre><h3><a name="V4.02_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The value of /newerror in $error was true at the end of
initialization.  We now reset it after each internal use of stopped if
necessary.  (gs_dps1.ps, gs_fform.ps, gs_fonts.ps, gs_init.ps, gs_pdf.ps,
gs_res.ps, gs_type1.ps)
	- setpagedevice (and finddevice) didn't recognize Default.
(gs_init.ps)
	- When running with -dNODISPLAY, calling gssetresolution would cause
a crash.  (gs_init.ps)
	- A particular combination of save, .forgetsave, and garbage
collection could cause a memory access error in restore.  (isave.c)
	- Some references to systemdict were affected if a user redefined
the name /systemdict.  (gs_cmdl.ps, gs_fonts.ps, gs_kanji.ps, gs_dps1.ps,
gs_init.ps, gs_res.ps, gs_statd.ps, gs_type1.ps)
	- The insideness testing operators caused an invalid memory access.
(drivers.txt, zupath.c)
	- If a readline reached an input buffer boundary between the \r and
\n of a 2-character EOL, an error could occur.  (zfileio.c)
	- setdevparams caused an error.  (gs_lev2.ps)

Changes file names beginning with ./ or ../ so they are recognized as
"absolute" and not subject to the search path.  (gp_dosfs.c, gp_ntfs.c,
gp_os2.c, gp_unifn.c)

Changes the exit code for -h or --help from 0 to 1, so an invoking program
will keep the output around for the user to look at.  (imainarg.c)

Adds the FlateEncode and FlateDecode filters; adds PNG pixel prediction to
the LZW filters.  These additions are required for PDF 1.2 and will be part
of PostScript Level 3.  (int.mak, lib.mak, zfdecode.c, zfilter2.c, zfzlib.c,
zfpngp.c [deleted])

</pre><h3><a name="V4.02_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- The copyright notices on some files didn't mention the Aladdin
free license.  (pdf_*.ps)
	- Some references to systemdict were affected if a user redefined
the name /systemdict.  (pdf_font.ps)
	- The value of /newerror in $error was true at the end of
initialization.  We now reset it after each internal use of stopped if
necessary.  (pdf_main.ps)
	- stdin redirection failed for PDF files even if the new stdin was
seekable.  (pdf_main.ps)
	- The Rotate key rotated pages in the wrong direction.
(pdf_main.ps)

Adds a minimal "security socket" to the interpreter.  This does not include
any actual decryption code; such code is available elsewhere (see
new-user.txt).  (int.mak, pdf_base.ps, pdf_main.ps, pdf_sec.ps)

Adds a PDF 1.2 capability:
	- The destination in a Dest array can be a page number as well as a
page object.  (pdf_main.ps)

</pre><h3><a name="V4.02_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- stdin was assumed to be non-seekable.  (sfile.c, sfileno.c)

</pre><h3><a name="V4.02_Library"></a>Library</h3><pre>

Fixes bugs:
	- Garbage collection could corrupt a pointer in Type 0 fonts.
(gxfont0.h, gsfont0.c)
	- When applying hints to a Type 1 font outline, the last point could
sometimes get moved twice, causing output anomalies.  (gxhint3.c)
	- An #include needed for debugging was missing.  (gxcmap.h)
	- Graphics states included a no-longer-used private color space
object.  (gsstate.c)
	- Images could get clipped randomly in the X direction.  (I don't
understand why this problem hasn't shown up more often, since it's been
there since release 4.00.)  (gximage.c)
	- The arct and arcto operators failed to draw the line to the
starting point of the arc.  (bug introduced in 4.01) (gspath1.c)
	- Prefix subclasses of simple structures caused an invalid memory
access.  (gsstruct.h)
	- The variable fheight was sometimes unused.  (gstype1.c)
	- igcd and imod didn't have prototypes in an appropriate header
file, and were declared extern in several places.  (gsdcolor.h, gsline.h,
gxarith.h, gxdht.h, gsht.c, gshtscr.c, gsimage.c, gsline.c, gstype1.c,
gxclimag.c)
	- When using a non-identity RenderTable in a CIE rendering
dictionary, all colors came out too light.  (gscie.c)
	- When using anti-aliased graphics, stroked lines were rendered too
thin.  (gspaint.c)
	- The default map_cmyk_color implementations could return
"transparent".  (gxcmap.c)
	- The number of bits of alpha requested when rendering anti-aliased
characters could exceed 4.  (gschar.c)
	- Multi-screen halftones could cause errors or infinite looping when
banding.  (This problem predates 4.0; I don't know why it didn't show up
before.)  (gxcldev.h, gxclist.c, gxclread.c)
	- Skewed or rotated gray-scale images, or masks with a halftoned
color, omitted one line of pixels and displaced the image by one pixel.
(gximage2.c)

Adds an implementation of realloc, for systems that don't have one that
works.  I don't know how to determine this automatically, so for the moment,
the code uses our own implementation on Linux (where realloc is known to be
broken, at least in some releases) and nowhere else.  (malloc_.h,
gsmemory.c, gsmisc.c)

Removes the "OLD" algorithms from the Type 1 hinting source code, since they
are no longer executed.  (If necessary, they can be retrieved from an older
version.)  (gxhint3.c)

</pre>

<h2><a name="Version4.01"></a>Version 4.01 (7/10/96)</h2>

<p>
This fixes a few minor bugs discovered since the 4.0 release.

<h3><a name="V4.01_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- An installation directory name was wrong.  (make.txt,
unix-lpr.txt)
	- A URL was wrong.  (devices.txt)
	- A reference to use.doc hadn't been updated.  (gs.1)
	- Some references to /usr/local/lib hadn't been updated.  (gs.1)
	- The NEWS file and history* files still referred to *.doc rather
than *.txt.  (NEWS, history*.txt)

Adds a note about compilation on Digital Unix.  (make.txt)

Clarifies that calling gs_exit calls gs_finit automatically.  (imain.h)

Adds a pointer to the PDF encryption patch.  (Ridiculous U.S. export control
laws don't allow including the patch itself in the main fileset.)
(new-user.txt)

Adds a help file for VMS.  (gs-vms.hlp)

</pre><h3><a name="V4.01_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- vms.mak had gotten out of sync with the makefiles (again).
(vms.mak)
	- DEVICE{WIDTH,HEIGHT}POINTS didn't override PAPERSIZE.
(gs_init.ps)
	- The Microsoft C makefiles had gotten out of date.  (msc.mak)

The (few) GNU-Licensed drivers were accidentally omitted from the fileset.

Modifies a makefile for greater reusability.  (watclib.mak)

Adds a 'debug' target for making Unix debugging configurations.
(unix-end.mak)

</pre><h3><a name="V4.01_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- Some uses of 'run' should be changed to runlibfile.  (bdftops.ps,
impath.ps, markhint.ps, packfile.ps, showchar.ps, waterfal.ps, wftopfa.ps,
wrfont.ps)
	- Some debugging code hadn't been removed.  (gslp.ps)

Adds a new utility, viewcmyk.ps, for viewing 4-bit CMYK data.  (psfiles.txt,
unix-end.mak, viewcmyk.ps)

Improves pdf2dsc by including Title and CreationDate DSC comments (these are
displayed by Ghostview) and reducing the size of typical output files by a
factor of about 3.  (pdf2dsc.ps)

Incorporates major changes (claimed to be improvements) to ps2ascii
contributed by a user.  If you have problems with it, please contact him,
not Aladdin.  (ps2ascii.ps)

</pre><h3><a name="V4.01_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The X value of a bounding box could be computed incorrectly.
(gdevbbox.c)

</pre><h3><a name="V4.01_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The Windows DLL sometimes didn't clean up properly.  (dll.txt,
dpmainc.c, dwdll.cpp, dwmain.cpp, dwmainc.cpp, gsdll.c, gsdll.h)

</pre><h3><a name="V4.01_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Reading from a filter could hang forever, because a buffer was
allocated 1 byte too small.  (zfilter.c)
	- The search path could become garbage under some circumstances.
(imain.c)
	- A dangling reference to a stack-allocated variable could corrupt
memory if a client mixed interpreter calls and direct C calls.  (interp.c)
	- Printing an object to a procedure-based filter could cause an
invalid memory access.  (zfileio.c)

</pre><h3><a name="V4.01_Library"></a>Library</h3><pre>

Fixes bugs:
	- Setting parameters for an unopened device could cause an access
error or invoke the wrong put_params procedure.  (gsdparam.c)
	- Reading from a filter could hang forever, because a buffer was
allocated 1 byte too small.  (stream.h)
	- If the current device was the nullpage device, doing a [g]save,
selecting a different device, and doing a [g]restore caused an error.
(gsdparam.c)

Adds the ability to append arcs without the initial lineto, for PCL
emulation.  (gspath.h, gspath1.c)

</pre>

<h2><a name="Version4.0"></a>Version 4.0 (6/28/96)</h2>

<p>
This is the first public release since 3.53, with a few more last-minute
patches beyond 3.70.

<h3><a name="V4.0_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Many makefiles still referred to .doc files rather than .txt.
(cfonts.mak, devs.mak, gs.mak, int.mak, libpng.mak, unix-end.mak, watc.mak,
watcwin.mak, wccommon.mak, zlib.mak)
	- Some FONTPATH-related information was out of date.  (use.txt)
	- The installation directory for fonts was incorrect.  (install.txt)
	- The libpng and zlib versions were out of date.  (libpng.mak,
zlib.mak)
	- Some information about GSview was incorrect or incomplete.
(new-user.txt)
	- make.txt said it described installation as well as building.
(make.txt)

Notes that the current release of zlib won't compile and link correctly with
Sun cc.  (make.txt)

Adds a little more detail to the C style document.  (c-style.txt)

</pre><h3><a name="V4.0_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Some documentation files weren't installed.  (unix-end.mak)
	- Some dependencies were incorrect.  (bcwin32.mak)
	- 'make begin' and 'make clean' deleted too many and/or the wrong
files.  (bcwin.mak, bcwin32.mak)
	- libpng.mak didn't work with libpng version 0.89c.  (libpng.mak)
	- -d&lt;var&gt;=&lt;name&gt; was equivalent to -d&lt;var&gt;=/&lt;name&gt;, and there was no
way to set a variable to true, false, or null.  (use.txt, gs_init.ps,
iinit.c, imainarg.c)

Removes the modules.lis file, which is no longer used.

Undoes detecting automatically the need to run tar_cat -- the mechanism
didn't work, and caused confusion.  (unix-end.mak)

Updates the makefiles to libpng version 0.89, but allows them to work with
either 0.88 or 0.89.  (*.mak)

</pre><h3><a name="V4.0_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- Showing the details of a protected font caused an error.
(markhint.ps)

</pre><h3><a name="V4.0_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A copyright notice was wrong.  (gs_pdfwr.ps)
	- PDF link annotations could get written with two Dest keys.
(gdevpdfm.c)
	- MakeProcInstance and FreeProcInstance were called on platforms
where it wasn't appropriate.  (gdevwpr2.c, gdevwprn.c, gp_mswin.c)
	- On X servers that return very large values for the "virtual
screen" size in millimeters but correct values for the screen size in
pixels, a rangecheck could occur.  (gdevxini.c)
	- The bounding box device could return garbage if stroke or fill was
ever invoked with an empty path.  (gdevbbox.c)

Replaces the LBP8 driver with a revised one contributed by a user.
(gdevlbp8.c, devs.mak)

</pre><h3><a name="V4.0_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- Some Windows menu parameters were incorrect.  (gsdll16.rc,
gsdll32.rc)

</pre><h3><a name="V4.0_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- .getdevparams sometimes returned duplicate entries for /Type.
(ziodev2.c)
	- File names weren't parsed or concatenated properly on all
platforms.  (gs_fonts.ps, zfile.c)
	- Filter lookahead caused problems with special files.  (zfproc.c)
	- If a TransformPQR procedure in a CIE color rendering dictionary
didn't pop its 4 array arguments, an error occurred.  (gs_lev2.ps, zcrd.c)

</pre><h3><a name="V4.0_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- Filter lookahead caused problems with special files.  (bug
introduced in 3.70) (stream.h)

</pre><h3><a name="V4.0_Library"></a>Library</h3><pre>

Fixes bugs:
	- .getdevparams sometimes returned duplicate entries for /Type.
(gxiodev.h, gsiodev.c)

</pre>

<!-- [3.0 begin visible trailer] =========================================== -->
<hr>

<p>
<small>Copyright &copy; 1996, 1997, 1998 Aladdin Enterprises.
All rights reserved.</small>

<p>
This software is provided AS-IS with no warranty, either express or
implied.

This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution.

For more information about licensing, please refer to
http://www.ghostscript.com/licensing/. For information on
commercial licensing, go to http://www.artifex.com/licensing/ or
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
San Rafael, CA  94903, U.S.A., +1(415)492-9861.

<p>
<small>Ghostscript version 8.12, 8 December 2003

<!-- [3.0 end visible trailer] ============================================= -->

</body>
</html>
fb
c726d752e0c593ed2dd864fc5ff131dd4bd5fe9738d2aef45efb15fe39f7b679fb86ff5a
f6c649d9                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>History of Ghostscript versions 5.n</title>
<!-- $Id: History5.htm,v 1.31 2003/12/08 23:17:15 giles Exp $ -->
<!--
	WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to
	re-create the table of contents here, because it will replace the
	hand-edited TOC subheads with a separate subhead for each H2 in
	the body of the file.  Or if you do, first look at the original
	TOC to see how to edit it for visual conciseness.
-->
<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
</head>

<body>
<!-- [1.0 begin visible header] ============================================ -->

<!-- [1.1 begin headline] ================================================== -->

<h1>History of Ghostscript versions 5.n</h1>

<!-- [1.1 end headline] ==================================================== -->

<!-- [1.2 begin table of contents] ========================================= -->

<h2>Table of contents</h2>

<blockquote><ul>
<li><a href="#Version5.99">Version 5.99 (beta) (1999-12-18)</a>
<ul>
<li><a href="#5.99_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.99_Documentation">Documentation</a>,
    <a href="#5.99_Procedures">Procedures</a>,
    <a href="#5.99_Utilities">Utilities</a>,
    <a href="#5.99_Drivers">Drivers</a>,
    <a href="#5.99_Platforms">Platforms</a>,
    <a href="#5.99_Fonts">Fonts</a>,
    <a href="#5.99_PDF_writer">PDF writer</a>,
    <a href="#5.99_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.99_Interpreter">Interpreter</a>,
    <a href="#5.99_Streams">Streams</a>,
    <a href="#5.99_Library">Library</a>
</ul>
<li><a href="#Version5.98">Version 5.98 (beta) (1999-12-01)</a>
<ul>
<li><a href="#5.98_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.98_Documentation">Documentation</a>,
    <a href="#5.98_Procedures">Procedures</a>,
    <a href="#5.98_Utilities">Utilities</a>,
    <a href="#5.98_Drivers">Drivers</a>,
    <a href="#5.98_Fonts">Fonts</a>,
    <a href="#5.98_PDF_writer">PDF writer</a>,
    <a href="#5.98_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.98_Interpreter">Interpreter</a>,
    <a href="#5.98_Streams">Streams</a>,
    <a href="#5.98_Library">Library</a>
</ul>
<li><a href="#Version5.97">Version 5.97 (beta) (11/22/99)</a>
<ul>
<li><a href="#5.97_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.97_Documentation">Documentation</a>,
    <a href="#5.97_Procedures">Procedures</a>,
    <a href="#5.97_Utilities">Utilities</a>,
    <a href="#5.97_Drivers">Drivers</a>,
    <a href="#5.97_Platforms">Platforms</a>,
    <a href="#5.97_PDF_writer">PDF writer</a>,
    <a href="#5.97_Interpreter">Interpreter</a>,
    <a href="#5.97_Library">Library</a>
</ul>
<li><a href="#Version5.96">Version 5.96 (beta) (11/12/99)</a>
<ul>
<li><a href="#5.96_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.96_Documentation">Documentation</a>,
    <a href="#5.96_Procedures">Procedures</a>,
    <a href="#5.96_Utilities">Utilities</a>,
    <a href="#5.96_Drivers">Drivers</a>,
    <a href="#5.96_Platforms">Platforms</a>,
    <a href="#5.96_PDF_writer">PDF writer</a>,
    <a href="#5.96_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.96_Interpreter">Interpreter</a>,
    <a href="#5.96_Streams">Streams</a>,
    <a href="#5.96_Library">Library</a>
</ul>
<li><a href="#Version5.95">Version 5.95 (beta) (11/1/99)</a>
<ul>
<li><a href="#5.95_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.95_Documentation">Documentation</a>,
    <a href="#5.95_Procedures">Procedures</a>,
    <a href="#5.95_Utilities">Utilities</a>,
    <a href="#5.95_Drivers">Drivers</a>,
    <a href="#5.95_Platforms">Platforms</a>,
    <a href="#5.95_Fonts">Fonts</a>,
    <a href="#5.95_PDF_writer">PDF writer</a>,
    <a href="#5.95_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.95_Interpreter">Interpreter</a>,
    <a href="#5.95_Library">Library</a>
</ul>
<li><a href="#Version5.94">Version 5.94 (beta) (9/30/99)</a>
<ul>
<li><a href="#5.94_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.94_Documentation">Documentation</a>,
    <a href="#5.94_Procedures">Procedures</a>,
    <a href="#5.94_Utilities">Utilities</a>,
    <a href="#5.94_Drivers">Drivers</a>,
    <a href="#5.94_Platforms">Platforms</a>,
    <a href="#5.94_Fonts">Fonts</a>,
    <a href="#5.94_PDF_writer">PDF writer</a>,
    <a href="#5.94_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.94_Interpreter">Interpreter</a>,
    <a href="#5.94_Streams">Streams</a>,
    <a href="#5.94_Library">Library</a>
</ul>
<li><a href="#Version5.93">Version 5.93 (beta) (9/11/99)</a>
<ul>
<li><a href="#5.93_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.93_Documentation">Documentation</a>,
    <a href="#5.93_Procedures">Procedures</a>,
    <a href="#5.93_Utilities">Utilities</a>,
    <a href="#5.93_Drivers">Drivers</a>,
    <a href="#5.93_Platforms">Platforms</a>,
    <a href="#5.93_PDF_writer">PDF writer</a>,
    <a href="#5.93_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.93_Interpreter">Interpreter</a>,
    <a href="#5.93_Streams">Streams</a>,
    <a href="#5.93_Library">Library</a>
</ul>
<li><a href="#Version5.92">Version 5.92 (beta) (9/2/99)</a>
<ul>
<li><a href="#5.92_Documentation">Documentation</a>,
    <a href="#5.92_Procedures">Procedures</a>,
    <a href="#5.92_Utilities">Utilities</a>,
    <a href="#5.92_Drivers">Drivers</a>,
    <a href="#5.92_PDF_writer">PDF writer</a>,
    <a href="#5.92_Interpreter">Interpreter</a>,
    <a href="#5.92_Streams">Streams</a>
</ul>
<li><a href="#Version5.91">Version 5.91 (beta) (8/30/99)</a>
<ul>
<li><a href="#5.91_Documentation">Documentation</a>,
    <a href="#5.91_Utilities">Utilities</a>,
    <a href="#5.91_Drivers">Drivers</a>,
    <a href="#5.91_Platforms">Platforms</a>,
    <a href="#5.91_Fonts">Fonts</a>,
    <a href="#5.91_PDF_writer">PDF writer</a>,
    <a href="#5.91_Library">Library</a>
</ul>
<li><a href="#Version5.90">Version 5.90 (beta) (8/20/99)</a>
<ul>
<li><a href="#5.90_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.90_Documentation">Documentation</a>,
    <a href="#5.90_Procedures">Procedures</a>,
    <a href="#5.90_Utilities">Utilities</a>,
    <a href="#5.90_Drivers">Drivers</a>,
    <a href="#5.90_Platforms">Platforms</a>,
    <a href="#5.90_Fonts">Fonts</a>,
    <a href="#5.90_PDF_writer">PDF writer</a>,
    <a href="#5.90_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.90_Interpreter">Interpreter</a>,
    <a href="#5.90_Streams">Streams</a>,
    <a href="#5.90_Library">Library</a>
</ul>
<li>(Version 5.89 deliberately omitted.)
<li><a href="#Version5.88">Version 5.88 (tester) (8/3/99)</a>
<ul>
<li><a href="#5.88_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.88_Documentation">Documentation</a>,
    <a href="#5.88_Procedures">Procedures</a>,
    <a href="#5.88_Drivers">Drivers</a>,
    <a href="#5.88_Platforms">Platforms</a>,
    <a href="#5.88_Fonts">Fonts</a>,
    <a href="#5.88_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.88_Interpreter">Interpreter</a>,
    <a href="#5.88_Streams">Streams</a>,
    <a href="#5.88_Library">Library</a>
</ul>
<li><a href="#Version5.87">Version 5.87 (tester) (6/29/99)</a>
<ul>
<li><a href="#5.87_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.87_Documentation">Documentation</a>,
    <a href="#5.87_Procedures">Procedures</a>,
    <a href="#5.87_Drivers">Drivers</a>,
    <a href="#5.87_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.87_Interpreter">Interpreter</a>,
    <a href="#5.87_Library">Library</a>
</ul>
<li><a href="#Version5.86">Version 5.86 (tester) (6/14/99)</a>
<ul>
<li><a href="#5.86_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.86_Documentation">Documentation</a>,
    <a href="#5.86_Procedures">Procedures</a>,
    <a href="#5.86_Utilities">Utilities</a>,
    <a href="#5.86_Drivers">Drivers</a>,
    <a href="#5.86_Platforms">Platforms</a>,
    <a href="#5.86_Fonts">Fonts</a>,
    <a href="#5.86_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.86_Interpreter">Interpreter</a>,
    <a href="#5.86_Streams">Streams</a>,
    <a href="#5.86_Library">Library</a>
</ul>
<li><a href="#Version5.85">Version 5.85 (tester) (5/29/99)</a>
<ul>
<li><a href="#5.85_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.85_Documentation">Documentation</a>,
    <a href="#5.85_Procedures">Procedures</a>,
    <a href="#5.85_Utilities">Utilities</a>,
    <a href="#5.85_Drivers">Drivers</a>,
    <a href="#5.85_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.85_Interpreter">Interpreter</a>,
    <a href="#5.85_Library">Library</a>
</ul>
<li><a href="#Version5.84">Version 5.84 (tester) (5/19/99)</a>
<ul>
<li><a href="#5.84_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.84_Procedures">Procedures</a>,
    <a href="#5.84_Utilities">Utilities</a>,
    <a href="#5.84_Drivers">Drivers</a>,
    <a href="#5.84_Platforms">Platforms</a>,
    <a href="#5.84_Interpreter">Interpreter</a>,
    <a href="#5.84_Streams">Streams</a>,
    <a href="#5.84_Library">Library</a>
</ul>
<li><a href="#Version5.83">Version 5.83 (tester) (5/13/99)</a>
<ul>
<li><a href="#5.83_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.83_Documentation">Documentation</a>,
    <a href="#5.83_Procedures">Procedures</a>,
    <a href="#5.83_Utilities">Utilities</a>,
    <a href="#5.83_Interpreter">Interpreter</a>,
    <a href="#5.83_Library">Library</a>
</ul>
<li><a href="#Version5.82">Version 5.82 (tester) (4/24/99)</a>
<ul>
<li><a href="#5.82_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.82_Documentation">Documentation</a>,
    <a href="#5.82_Procedures">Procedures</a>,
    <a href="#5.82_Utilities">Utilities</a>,
    <a href="#5.82_Drivers">Drivers</a>,
    <a href="#5.82_Platforms">Platforms</a>,
    <a href="#5.82_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.82_Interpreter">Interpreter</a>,
    <a href="#5.82_Library">Library</a>
</ul>
<li><a href="#Version5.81">Version 5.81 (tester) (4/14/99)</a>
<ul>
<li><a href="#5.81_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.81_Procedures">Procedures</a>,
    <a href="#5.81_Utilities">Utilities</a>,
    <a href="#5.81_Drivers">Drivers</a>,
    <a href="#5.81_Fonts">Fonts</a>,
    <a href="#5.81_Platforms">Platforms</a>,
    <a href="#5.81_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.81_Interpreter">Interpreter</a>,
    <a href="#5.81_Library">Library</a>
</ul>
<li><a href="#Version5.80">Version 5.80 (tester) (4/6/99)</a>
<ul>
<li><a href="#5.80_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.80_Procedures">Procedures</a>,
    <a href="#5.80_Utilities">Utilities</a>,
    <a href="#5.80_Drivers">Drivers</a>,
    <a href="#5.80_Fonts">Fonts</a>,
    <a href="#5.80_Platforms">Platforms</a>,
    <a href="#5.80_Interpreter">Interpreter</a>,
    <a href="#5.80_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.80_Streams">Streams</a>,
    <a href="#5.80_Library">Library</a>
</ul>
<li>(Versions 5.74 - 5.79 deliberately omitted.)
<li><a href="#Version5.73">Version 5.73 (tester) (3/19/99)</a>
<ul>
<li><a href="#5.73_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.73_Documentation">Documentation</a>,
    <a href="#5.73_Procedures">Procedures</a>,
    <a href="#5.73_Drivers">Drivers</a>,
    <a href="#5.73_Interpreter">Interpreter</a>,
    <a href="#5.73_Library">Library</a>
</ul>
<li><a href="#Version5.72">Version 5.72 (tester) (3/17/99)</a>
<ul>
<li><a href="#5.72_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.72_Documentation">Documentation</a>,
    <a href="#5.72_Procedures">Procedures</a>,
    <a href="#5.72_Utilities">Utilities</a>,
    <a href="#5.72_Drivers">Drivers</a>,
    <a href="#5.72_Fonts">Fonts</a>,
    <a href="#5.72_Interpreter">Interpreter</a>,
    <a href="#5.72_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.72_Streams">Streams</a>,
    <a href="#5.72_Library">Library</a>
</ul>
<li><a href="#Version5.71">Version 5.71 (tester) (3/3/99)</a>
<ul>
<li><a href="#5.71_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.71_Documentation">Documentation</a>,
    <a href="#5.71_Procedures">Procedures</a>,
    <a href="#5.71_Utilities">Utilities</a>,
    <a href="#5.71_Drivers">Drivers</a>,
    <a href="#5.71_Fonts">Fonts</a>,
    <a href="#5.71_Interpreter">Interpreter</a>,
    <a href="#5.71_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.71_Streams">Streams</a>,
    <a href="#5.71_Library">Library</a>
</ul>
<li><a href="#Version5.70">Version 5.70 (internal) (2/20/99)</a>
<ul>
<li><a href="#5.70_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.70_Documentation">Documentation</a>,
    <a href="#5.70_Procedures">Procedures</a>,
    <a href="#5.70_Utilities">Utilities</a>,
    <a href="#5.70_Drivers">Drivers</a>,
    <a href="#5.70_Fonts">Fonts</a>,
    <a href="#5.70_Interpreter">Interpreter</a>,
    <a href="#5.70_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.70_Streams">Streams</a>,
    <a href="#5.70_Library">Library</a>
</ul>
<li><a href="#Version5.69">Version 5.69 (internal) (2/4/99)</a>
<ul>
<li><a href="#5.69_Procedures">Procedures</a>,
    <a href="#5.69_Utilities">Utilities</a>,
    <a href="#5.69_Drivers">Drivers</a>,
    <a href="#5.69_Interpreter">Interpreter</a>,
    <a href="#5.69_Streams">Streams</a>,
    <a href="#5.69_Library">Library</a>
</ul>
<li><a href="#Version5.68">Version 5.68 (internal) (1/29/99)</a>
<ul>
<li><a href="#5.68_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.68_Documentation">Documentation</a>,
    <a href="#5.68_Procedures">Procedures</a>,
    <a href="#5.68_Utilities">Utilities</a>,
    <a href="#5.68_Drivers">Drivers</a>,
    <a href="#5.68_Fonts">Fonts</a>,
    <a href="#5.68_Platforms">Platforms</a>,
    <a href="#5.68_Interpreter">Interpreter</a>,
    <a href="#5.68_Streams">Streams</a>,
    <a href="#5.68_Library">Library</a>
</ul>
<li><a href="#Version5.67">Version 5.67 (internal) (1/8/99)</a>
<ul>
<li><a href="#5.67_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.67_Documentation">Documentation</a>,
    <a href="#5.67_Procedures">Procedures</a>,
    <a href="#5.67_Utilities">Utilities</a>,
    <a href="#5.67_Drivers">Drivers</a>,
    <a href="#5.67_Fonts">Fonts</a>,
    <a href="#5.67_Interpreter">Interpreter</a>,
    <a href="#5.67_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.67_Streams">Streams</a>,
    <a href="#5.67_Library">Library</a>
</ul>
<li><a href="#Version5.66">Version 5.66 (internal) (11/25/98)</a>
<ul>
<li><a href="#5.66_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.66_Documentation">Documentation</a>,
    <a href="#5.66_Procedures">Procedures</a>,
    <a href="#5.66_Utilities">Utilities</a>,
    <a href="#5.66_Drivers">Drivers</a>,
    <a href="#5.66_Platforms">Platforms</a>,
    <a href="#5.66_Interpreter">Interpreter</a>,
    <a href="#5.66_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.66_Streams">Streams</a>,
    <a href="#5.66_Library">Library</a>
</ul>
<li><a href="#Version5.65">Version 5.65 (internal) (11/13/98)</a>
<ul>
<li><a href="#5.65_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.65_Documentation">Documentation</a>,
    <a href="#5.65_Procedures">Procedures</a>,
    <a href="#5.65_Utilities">Utilities</a>,
    <a href="#5.65_Drivers">Drivers</a>,
    <a href="#5.65_Platforms">Platforms</a>,
    <a href="#5.65_Interpreter">Interpreter</a>,
    <a href="#5.65_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.65_Library">Library</a>
</ul>
<li><a href="#Version5.64">Version 5.64 (internal) (11/5/98)</a>
<ul>
<li><a href="#5.64_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.64_Documentation">Documentation</a>,
    <a href="#5.64_Procedures">Procedures</a>,
    <a href="#5.64_Drivers">Drivers</a>,
    <a href="#5.64_Library">Library</a>
</ul>
<li><a href="#Version5.63">Version 5.63 (internal) (11/4/98)</a>
<ul>
<li><a href="#5.63_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.63_Documentation">Documentation</a>,
    <a href="#5.63_Procedures">Procedures</a>,
    <a href="#5.63_Drivers">Drivers</a>,
    <a href="#5.63_Interpreter">Interpreter</a>,
    <a href="#5.63_Library">Library</a>
</ul>
<li><a href="#Version5.62">Version 5.62 (internal) (10/31/98)</a>
<ul>
<li><a href="#5.62_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.62_Documentation">Documentation</a>,
    <a href="#5.62_Drivers">Drivers</a>,
    <a href="#5.62_Interpreter">Interpreter</a>,
    <a href="#5.62_Library">Library</a>
</ul>
<li><a href="#Version5.61">Version 5.61 (internal) (10/28/98)</a>
<ul>
<li><a href="#5.61_Documentation">Documentation</a>,
    <a href="#5.61_Procedures">Procedures</a>,
    <a href="#5.61_Utilities">Utilities</a>,
    <a href="#5.61_Drivers">Drivers</a>,
    <a href="#5.61_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.61_Streams">Streams</a>,
    <a href="#5.61_Library">Library</a>
</ul>
<li><a href="#Version5.60">Version 5.60 (internal) (10/18/98)</a>
<ul>
<li><a href="#5.60_Incompatible_changes">Incompatible changes</a>,
    <a href="#5.60_Documentation">Documentation</a>,
    <a href="#5.60_Procedures">Procedures</a>,
    <a href="#5.60_Utilities">Utilities</a>,
    <a href="#5.60_Drivers">Drivers</a>,
    <a href="#5.60_Platforms">Platforms</a>,
    <a href="#5.60_Interpreter">Interpreter</a>,
    <a href="#5.60_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.60_Streams">Streams</a>,
    <a href="#5.60_Library">Library</a>
</ul>
<li>(Versions 5.51 - 5.59 deliberately omitted.)
<li><a href="#Version5.50">Version 5.50 (9/16/98)</a>
<ul>
<li><a href="#5.50_Documentation">Documentation</a>,
    <a href="#5.50_Procedures">Procedures</a>,
    <a href="#5.50_Utilities">Utilities</a>,
    <a href="#5.50_Drivers">Drivers</a>,
    <a href="#5.50_Platforms">Platforms</a>,
    <a href="#5.50_Interpreter">Interpreter</a>,
    <a href="#5.50_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.50_Library">Library</a>
</ul>
<li><a href="#Version5.40">Version 5.40 (beta) (9/10/98)</a>
<ul>
<li><a href="#5.40_Documentation">Documentation</a>,
    <a href="#5.40_Procedures">Procedures</a>,
    <a href="#5.40_Utilities">Utilities</a>,
    <a href="#5.40_Drivers">Drivers</a>,
    <a href="#5.40_Platforms">Platforms</a>,
    <a href="#5.40_Library">Library</a>
</ul>
<li><a href="#Version5.39">Version 5.39 (beta) (9/8/98)</a>
<ul>
<li><a href="#5.39_Drivers">Drivers</a>,
    <a href="#5.39_Library">Library</a>
</ul>
<li><a href="#Version5.38">Version 5.38 (beta) (9/3/98)</a>
<ul>
<li><a href="#5.38_Documentation">Documentation</a>,
    <a href="#5.38_Drivers">Drivers</a>,
    <a href="#5.38_Interpreter">Interpreter</a>,
    <a href="#5.38_Library">Library</a>
</ul>
<li><a href="#Version5.37">Version 5.37 (beta) (8/31/98)</a>
<ul>
<li><a href="#5.37_Documentation">Documentation</a>,
    <a href="#5.37_Procedures">Procedures</a>,
    <a href="#5.37_Utilities">Utilities</a>,
    <a href="#5.37_Drivers">Drivers</a>,
    <a href="#5.37_Fonts">Fonts</a>,
    <a href="#5.37_Interpreter">Interpreter</a>,
    <a href="#5.37_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.37_Streams">Streams</a>,
    <a href="#5.37_Library">Library</a>
</ul>
<li><a href="#Version5.36">Version 5.36 (beta) (8/25/98)</a>
<ul>
<li><a href="#5.36_Documentation">Documentation</a>,
    <a href="#5.36_Utilities">Utilities</a>,
    <a href="#5.36_Drivers">Drivers</a>,
    <a href="#5.36_Platforms">Platforms</a>,
    <a href="#5.36_Fonts">Fonts</a>,
    <a href="#5.36_Interpreter">Interpreter</a>,
    <a href="#5.36_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.36_Streams">Streams</a>,
    <a href="#5.36_Library">Library</a>
</ul>
<li><a href="#Version5.35">Version 5.35 (beta) (8/18/98)</a>
<ul>
<li><a href="#5.35_Documentation">Documentation</a>,
    <a href="#5.35_Drivers">Drivers</a>,
    <a href="#5.35_Fonts">Fonts</a>,
    <a href="#5.35_Interpreter">Interpreter</a>,
    <a href="#5.35_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#5.35_Library">Library</a>
</ul>
<li><a href="#Version5.34">Version 5.34 (beta) (8/16/98)</a>
<ul>
<li><a href="#V5.34_Documentation">Documentation</a>,
    <a href="#V5.34_Procedures">Procedures</a>,
    <a href="#V5.34_Drivers">Drivers</a>,
    <a href="#V5.34_Interpreter">Interpreter</a>,
    <a href="#V5.34_Library">Library</a>
</ul>
<li><a href="#Version5.33">Version 5.33 (beta) (8/14/98)</a>
<ul>
<li><a href="#V5.33_Platforms">Platforms</a>,
    <a href="#V5.33_Fonts">Fonts</a>,
    <a href="#V5.33_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.33_Library">Library</a>
</ul>
<li><a href="#Version5.32">Version 5.32 (beta) (8/13/98)</a>
<ul>
<li><a href="#V5.32_Procedures">Procedures</a>,
    <a href="#V5.32_Interpreter">Interpreter</a>,
    <a href="#V5.32_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.32_Library">Library</a>
</ul>
<li><a href="#Version5.31">Version 5.31 (limited) (8/11/98)</a>
<ul>
<li><a href="#V5.31_Drivers">Drivers</a>,
    <a href="#V5.31_Interpreter">Interpreter</a>,
    <a href="#V5.31_Library">Library</a>
</ul>
<li><a href="#Version5.30">Version 5.30 (limited) (8/10/98)</a>
<ul>
<li><a href="#V5.30_Documentation">Documentation</a>,
    <a href="#V5.30_Procedures">Procedures</a>,
    <a href="#V5.30_Drivers">Drivers</a>,
    <a href="#V5.30_Platforms">Platforms</a>,
    <a href="#V5.30_Fonts">Fonts</a>,
    <a href="#V5.30_Interpreter">Interpreter</a>,
    <a href="#V5.30_Streams">Streams</a>,
    <a href="#V5.30_Library">Library</a>
</ul>
<li><a href="#Version5.28">Version 5.28 (limited) (8/3/98)</a>
<ul>
<li><a href="#V5.28_Documentation">Documentation</a>,
    <a href="#V5.28_Procedures">Procedures</a>,
    <a href="#V5.28_Utilities">Utilities</a>,
    <a href="#V5.28_Drivers">Drivers</a>,
    <a href="#V5.28_Platforms">Platforms</a>,
    <a href="#V5.28_Interpreter">Interpreter</a>,
    <a href="#V5.28_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.28_Streams">Streams</a>,
    <a href="#V5.28_Library">Library</a>
</ul>
<li><a href="#Version5.27">Version 5.27 (limited) (7/18/98)</a>
<ul>
<li><a href="#V5.27_Documentation">Documentation</a>,
    <a href="#V5.27_Procedures">Procedures</a>,
    <a href="#V5.27_Drivers">Drivers</a>,
    <a href="#V5.27_Platforms">Platforms</a>,
    <a href="#V5.27_Interpreter">Interpreter</a>,
    <a href="#V5.27_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.27_Library">Library</a>
</ul>
<li><a href="#Version5.26">Version 5.26 (limited) (7/7/98)</a>
<ul>
<li><a href="#V5.26_Procedures">Procedures</a>,
    <a href="#V5.26_Drivers">Drivers</a>,
    <a href="#V5.26_Fonts">Fonts</a>,
    <a href="#V5.26_Interpreter">Interpreter</a>,
    <a href="#V5.26_Library">Library</a>
</ul>
<li><a href="#Version5.25">Version 5.25 (limited) (7/1/98)</a>
<ul>
<li><a href="#V5.25_Documentation">Documentation</a>,
    <a href="#V5.25_Procedures">Procedures</a>,
    <a href="#V5.25_Platforms">Platforms</a>,
    <a href="#V5.25_Fonts">Fonts</a>,
    <a href="#V5.25_Interpreter">Interpreter</a>,
    <a href="#V5.25_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.25_Drivers">Drivers</a>,
    <a href="#V5.25_Library">Library</a>
</ul>
<li><a href="#Version5.24">Version 5.24 (limited) (6/17/98)</a>
<ul>
<li><a href="#V5.24_Documentation">Documentation</a>,
    <a href="#V5.24_Procedures">Procedures</a>,
    <a href="#V5.24_Utilities">Utilities</a>,
    <a href="#V5.24_Drivers">Drivers</a>,
    <a href="#V5.24_Platforms">Platforms</a>,
    <a href="#V5.24_Fonts">Fonts</a>,
    <a href="#V5.24_Interpreter">Interpreter</a>,
    <a href="#V5.24_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.24_Streams">Streams</a>,
    <a href="#V5.24_Library">Library</a>
</ul>
<li><a href="#Version5.23">Version 5.23 (limited) (5/14/98)</a>
<ul>
<li><a href="#V5.23_Documentation">Documentation</a>,
    <a href="#V5.23_Procedures">Procedures</a>,
    <a href="#V5.23_Utilities">Utilities</a>,
    <a href="#V5.23_Drivers">Drivers</a>,
    <a href="#V5.23_Platforms">Platforms</a>,
    <a href="#V5.23_Fonts">Fonts</a>,
    <a href="#V5.23_Interpreter">Interpreter</a>,
    <a href="#V5.23_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.23_Streams">Streams</a>,
    <a href="#V5.23_Library">Library</a>
</ul>
<li><a href="#Version5.22">Version 5.22 (limited) (2/19/98)</a>
<ul>
<li><a href="#V5.22_Documentation">Documentation</a>,
    <a href="#V5.22_Procedures">Procedures</a>,
    <a href="#V5.22_Utilities">Utilities</a>,
    <a href="#V5.22_Drivers">Drivers</a>,
    <a href="#V5.22_Interpreter">Interpreter</a>,
    <a href="#V5.22_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.22_Streams">Streams</a>,
    <a href="#V5.22_Library">Library</a>
</ul>
<li><a href="#Version5.21">Version 5.21 (limited) (1/19/98)</a>
<ul>
<li><a href="#V5.21_Documentation">Documentation</a>,
    <a href="#V5.21_Procedures">Procedures</a>,
    <a href="#V5.21_Drivers">Drivers</a>,
    <a href="#V5.21_Fonts">Fonts</a>,
    <a href="#V5.21_Interpreter">Interpreter</a>,
    <a href="#V5.21_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.21_Library">Library</a>
</ul>
<li><a href="#Version5.20">Version 5.20 (limited) (1/8/98)</a>
<ul>
<li><a href="#V5.20_Documentation">Documentation</a>,
    <a href="#V5.20_Procedures">Procedures</a>,
    <a href="#V5.20_Utilities">Utilities</a>,
    <a href="#V5.20_Drivers">Drivers</a>,
    <a href="#V5.20_Platforms">Platforms</a>,
    <a href="#V5.20_Fonts">Fonts</a>,
    <a href="#V5.20_Interpreter">Interpreter</a>,
    <a href="#V5.20_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.20_Streams">Streams</a>,
    <a href="#V5.20_Library">Library</a>
</ul>
<li><a href="#Version5.10">Version 5.10 (11/23/97)</a>
<ul>
<li><a href="#V5.10_Documentation">Documentation</a>,
    <a href="#V5.10_Procedures">Procedures</a>,
    <a href="#V5.10_Utilities">Utilities</a>,
    <a href="#V5.10_Drivers">Drivers</a>,
    <a href="#V5.10_Interpreter">Interpreter</a>,
    <a href="#V5.10_Library">Library</a>
</ul>
<li><a href="#Version5.07">Version 5.07 (limited) (10/31/97)</a>
<ul>
<li><a href="#V5.07_Documentation">Documentation</a>,
    <a href="#V5.07_Drivers">Drivers</a>,
    <a href="#V5.07_Library">Library</a>
</ul>
<li><a href="#Version5.06">Version 5.06 (limited) (10/7/97)</a>
<ul>
<li><a href="#V5.06_Documentation">Documentation</a>,
    <a href="#V5.06_Procedures">Procedures</a>,
    <a href="#V5.06_Utilities">Utilities</a>,
    <a href="#V5.06_Drivers">Drivers</a>,
    <a href="#V5.06_Interpreter">Interpreter</a>,
    <a href="#V5.06_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.06_Library">Library</a>
</ul>
<li><a href="#Version5.05">Version 5.05 (limited) (9/24/97)</a>
<ul>
<li><a href="#V5.05_Platforms">Platforms</a>,
    <a href="#V5.05_Drivers">Drivers</a>,
    <a href="#V5.05_Interpreter">Interpreter</a>,
    <a href="#V5.05_Interpreter_PDF">Interpreter (PDF)</a>
</ul>
<li><a href="#Version5.04">Version 5.04 (limited) (9/21/97)</a>
<ul>
<li><a href="#V5.04_Documentation">Documentation</a>,
    <a href="#V5.04_Procedures">Procedures</a>,
    <a href="#V5.04_Utilities">Utilities</a>,
    <a href="#V5.04_Drivers">Drivers</a>,
    <a href="#V5.04_Interpreter">Interpreter</a>,
    <a href="#V5.04_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.04_Library">Library</a>
</ul>
<li><a href="#Version5.03">Version 5.03 (8/8/97)</a>
<ul>
<li><a href="#V5.03_Documentation">Documentation</a>,
    <a href="#V5.03_Procedures">Procedures</a>,
    <a href="#V5.03_Drivers">Drivers</a>,
    <a href="#V5.03_Platforms">Platforms</a>,
    <a href="#V5.03_Fonts">Fonts</a>,
    <a href="#V5.03_Interpreter">Interpreter</a>,
    <a href="#V5.03_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.03_Library">Library</a>
</ul>
<li><a href="#Version5.02">Version 5.02 (7/28/97)</a>
<ul>
<li><a href="#V5.02_Documentation">Documentation</a>,
    <a href="#V5.02_Procedures">Procedures</a>,
    <a href="#V5.02_Utilities">Utilities</a>,
    <a href="#V5.02_Drivers">Drivers</a>,
    <a href="#V5.02_Platforms">Platforms</a>,
    <a href="#V5.02_Fonts">Fonts</a>,
    <a href="#V5.02_Interpreter">Interpreter</a>,
    <a href="#V5.02_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.02_Library">Library</a>
</ul>
<li><a href="#Version5.01">Version 5.01 (6/22/97)</a>
<ul>
<li><a href="#V5.01_Documentation">Documentation</a>,
    <a href="#V5.01_Procedures">Procedures</a>,
    <a href="#V5.01_Utilities">Utilities</a>,
    <a href="#V5.01_Drivers">Drivers</a>,
    <a href="#V5.01_Platforms">Platforms</a>,
    <a href="#V5.01_Interpreter">Interpreter</a>,
    <a href="#V5.01_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#V5.01_Library">Library</a>
</ul>
<li><a href="#Version5.0">Version 5.0 (6/6/97)</a>
<ul>
<li><a href="#V5.0_Documentation">Documentation</a>,
    <a href="#V5.0_Procedures">Procedures</a>,
    <a href="#V5.0_Interpreter">Interpreter</a>,
    <a href="#V5.0_Library">Library</a>
</ul>
</ul></blockquote>

<!-- [1.2 end table of contents] =========================================== -->

<!-- [1.3 begin hint] ====================================================== -->

<p>
This document is a record of changes in Ghostscript releases numbered 5.n.
For earlier versions, see the the history documents:

<blockquote>
<a href="History4.htm">History of Ghostscript versions 4.n</a><br>
<a href="History3.htm">History of Ghostscript versions 3.n</a><br>
<a href="History2.htm">History of Ghostscript versions 2.n</a><br>
<a href="History1.htm">History of Ghostscript versions 1.n</a>
</blockquote>

<p>For other information, see the <a href="Readme.htm">Ghostscript
overview</a>.

<!-- [1.3 end hint] ======================================================== -->

<hr>

<!-- [1.0 end visible header] ============================================== -->

<!-- [2.0 begin contents] ================================================== -->

<p>
Within each release, news appears in the following order: Incompatible
changes, Documentation, Procedures, Utilities, Drivers, Platforms, Fonts,
Interpreter, Streams (included under Interpreter through release 2.9.9),
Library.  Changes marked with a * were made available as patches to a
previous release.

<hr>

<h2><a name="Version5.99"></a>Version 5.99 (beta) (1999-12-18)</h2>

<h3><a name="5.99_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- All platform-specific makefiles must now define the Q macro.
	- Ghostscript now exits with an error status if an error occurs in a
file named on the command line, a -c command, or piped input.
(Utilities)
	- ps2epsi now disables setpagedevice: the bounding box of the EPSI
output file is recorded only in the %%BoundingBox comment.
(Drivers)
	- The return type of gdev_vector_close_file is changed from void
to int.
(Interpreter)
	- The name of the predefined stochastic halftone is changed to
StochasticDefault.  (This change was actually made in 5.98.)
	- The compht feature is replaced by stocht.
	- Font searching now looks in FontResourceDir.
	- The ASCIIHexEncode filter now produces upper-case output.
(Library)
	- The type returned by compiled halftone resource access procedures
is changed.

</pre><h3><a name="5.99_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- A stray character had gotten added to the beginning of a file.
(doc/Use.htm)
	- Many minor HTML errors had crept in.  (doc/*.htm, doc/gsdoc.el)

Updates the docmentation on the mswinpr2 driver.  (doc/Devices.htm)

Notes that GNU make currently does not work on OpenVMS.  (doc/Make.htm)

Documents the fact that x/y_pixels_per_inch are deprecated.  (gxdevcli.h)

Documents certain bugs in ps2pdf.  (doc/Ps2pdf.htm)

Documents the addition of FontResourceDir to the font search process.
(doc/Use.htm)

Documents the new arrangement for B paper sizes.  (doc/Psfiles.htm,
doc/Use.htm, doc/gs-vms.hlp, man/gs.1)

Removes the "under development" warning from the text API and
get_bits_rectangle documentation, and adds a little more detail.
(doc/Drivers.htm)

Adds new user-contributed documentation for installing and using Ghostscript
fonts with X Windows.  (doc/Fonts.htm, doc/Readme.htm, doc/Use.htm)

Adds building with the Watcom compiler to the release process.
(doc/Release.htm)

Adds an "Improving performance" section to the user documentation.
(doc/Use.htm)

Adds a note to the C style guide about order of evaluation.
(doc/C-style.htm)

Documents the new stocht.ps file.  (doc/Psfiles.htm)

</pre><h3><a name="5.99_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- A missing dependency caused builds on certain platforms to fail.
(int.mak)
	- $(EXP) was missing before various utility invocations.  (int.mak)
	- VMS converts all unquoted arguments to lower case.  In order to
work around this, we have added a platform-specific makefile macro Q, which
is defined as a quote mark on VMS and as an empty string on all other
platforms, and used it to quote the few mixed-case values in the makefiles.
We removed the obsolete QQ macro from os2.mak as well.  (cfonts.mak,
dvx-head.mak, int.mak, openvms.mak, openvms.mmk, os2.mak, unixhead.mak,
wccommon.mak, winlib.mak)
	- PSRCDIR was incorrectly referenced as PNGSRCDIR in one place.
(all-arch.mak)
	- winint.mak had a conditional that Watcom's make program didn't
accept.  (winint.mak)

Adds a makefile entry to allow compilation with libpng 1.0.5.  (libpng.mak)

Updates the Borland C++ makefile to work with C++Builder 4.  (bcwin32.mak)

Updates the Unix installation makefile to install stocht.ps.  (unixinst.mak)

</pre><h3><a name="5.99_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- ps2epsi didn't disable setpagedevice.  (lib/ps2epsi)
	- geninit needed &lt;stdlib.h&gt; for 'exit'.  (geninit.c)
	- Some invocations of utilities didn't deal with VMS's habit of
converting arguments to lower case.  (geninit.c, cfonts.mak)
	- The ps2pdf*.bat files didn't produce a usage message if no
arguments were provided.  (lib/ps2pdf.bat, lib/ps2pdf12.bat,
lib/ps2pdf13.bat)
	- Removes some warnings from the Windows uninstaller.
(dwuninst.cpp)

Upgrades the halftone compiler to handle Type 5 halftones.  (genht.c)

Makes the initialization string compiler recognize sections of the code
where binary tokens are allowed, and convert literal hex strings within such
sections to binary-token strings, which take less space and load faster.
(geninit.c)

Adds a utility file to define b0 ... b6 as selecting JIS B paper sizes.
(unixinst.mak, lib/jispaper.ps)

Modifies the font printing utility to sort unencoded characters.
(lib/prfont.ps)

Adds a small utility to help use the StochasticDefault halftone.
(lib/stocht.ps)

</pre><h3><a name="5.99_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The output of the epswrite driver couldn't be embedded in another
file, because it assumed it was invoked with an empty operand stack.
(gdevps.c)
	- "Vector" drivers didn't detect I/O errors such as filling up the
disk.  (gdevvec.h, gdevpdf.c, gdevps.c, gdevpx.c, gdevvec.c)
	- The bookkeeping for image color spaces when banding was incorrect,
possibly causing memory access errors.  (gxclist.h, gxclimag.c, gxclist.c)
	- The cljet5 driver didn't place the image on the page correctly.
(gdevclj.c)
	- 16-bit X11 devices with R/G/B widths other than 5/6/5 sometimes
failed to map colors correctly.  (gdevxcmp.h, gdevxcmp.c)
	- The cljet5c driver omitted a needed cast.  (gdevcljc.c)

Adds new x11rg16x and x11rg32x devices to test X Windows with unusual pixel
layout.  (devs.mak, gdevxalt.c)

Works around a bug in Acrobat Distiller 4 (and perhaps some other PostScript
interpreters) that causes an error if CCITTFaxDecode with /EndOfBlock = true
is given data with no EOB (terminated by the end of the data stream
instead).  (gdevps.c)

</pre><h3><a name="5.99_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The absence of mktemp on the Watcom platform caused a linking
error under Windows.  (watc.mak, watcw32.mak, gp_iwatc.c, gp_mktmp.c)

</pre><h3><a name="5.99_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- findfont, /Font resourcestatus, and /Font resourceforall weren't
consistent.  (lib/gs_fonts.ps, lib/gs_res.ps)
	- Very large TrueType fonts caused a stackoverflow.  (lib/gs_ttf.ps)

</pre><h3><a name="5.99_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- Errors in pdfmark and setdistillerparams were ignored (!).
(lib/gs_pdfwr.ps)
	- The PUT pdfmark didn't allow adding dictionaries to stream-type
objects.  (The pdfmark documentation says this isn't allowed, but we think
this is an oversight, since it is reasonable and unambiguous and Acrobat
Distiller allows it.)  (gdevpdfm.c)
	- The token scanner used to substitute object names in pdfmark
parameters sometimes added an extra character on the end.  (gdevpdfr.c)
	- ashow and [a]widthshow produced incorrect text spacing.  (bug
introduced by an optimization in 5.97) (gdevpdft.c)
	- setdistillerparams left its argument on the stack.
(lib/gs_pdfwr.ps)
	- 0-height images caused errors either at conversion or at rendering
time.  (gdevpdfi.c)
	- If the FontMatrix included a translation component, text was
positioned incorrectly.  NOTE: this fix may not handle x/y/xyshow.
(gdevpdft.c)
	- Out-of-range user-space coordinates could get generated for
rectangles.  NOTE: they can still get generated for general paths.
(gdevpdfd.c)
	- Widths weren't written for renamed built-in fonts.  We fixed this
partly by improving the algorithm for recognizing built-in fonts.
(gdevpdff.h, gdevpdff.c, gdevpdft.c)

Works around the Acrobat limitation that user-space coordinates must not
exceed 32K.  (fix from Artifex) (gdevpdfp.c)

Works around an Acrobat Reader 3 bug with printing files including Type 3
fonts: with the "Download Fonts Once" option, AR3 only emits the font subset
referenced on the first page where the font appears.  (gdevpdfx.h,
gdevpdf.c, gdevpdft.c)

</pre><h3><a name="5.99_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Type 3 fonts weren't handled properly as a marking context, so if
a CharProc referenced a resource in the font, an error would occur.
(lib/pdf_fonts.ps)
	- 0-height images caused an error.  (lib/pdf_draw.ps)

</pre><h3><a name="5.99_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Errors weren't propagated properly.  (bug introduced in 5.98 by
enhanced error recovery code) (imainarg.h, gs.c, imainarg.c)
	- Errors in -c commands or in files named on the command line
sometimes allowed execution to continue, and did not terminate with an
abnormal status.  (lib/gs_init.ps)

Changes the binary token scanner so that if the stream buffer is in foreign
space, binary-token strings will not be copied, but will be referenced
directly in the buffer.  This parallels what is done for name strings.
(iscanbin.c)

Changes the stochastic halftone from multiple Type 3s to a Type 5.
(lib/ht_ccsto.ps, int.mak)

Replaces the compht feature with a new feature called stocht.  If this
feature is selected, the StochasticDefault halftone resource will be
pre-loaded into Ghostscript.  If COMPILE_INITS=1, all the halftone data
(threshold array, order and bits arrays) will be efficiently compiled into
the executable.  (int.mak)

Replaces (...\n) print with (...) = everywhere.  (lib/gs_cmdl.ps,
lib/gs_fonts.ps, lib/gs_init.ps, lib/gs_setpd.ps, lib/pdf_base.ps,
lib/pdf_font.ps, lib/pdf_main.ps, lib/pdf_sec.ps)

Adds support for JIS B paper sizes: statusdict will now include isob0..6 and
jisb0..6 operators, with b0..6 normally aliased to the former.
(lib/gs_statd.ps, lib/jispaper.ps)

Adds a b5tray procedure; limits the valid arguments for setpagetype to the
Adobe-defined values 0 and 1.  (lib/gs_statd.ps)

Updates clients for the change in the gs_image_* API.  (zimage.c)

Makes the default halftone lookup procedure more reasonable.
(lib/gs_init.ps, lib/gs_ll3.ps)

</pre><h3><a name="5.99_Streams"></a>Streams</h3><pre>

Fixes problems:
	- An error condition when closing a file stream wasn't reported
properly.  (sfxfd.c, sfxstdio.c)

For greater Adobe compatibility, changes the ASCIIHexEncode filter to
produce upper-case output.  (sstring.c)

</pre><h3><a name="5.99_Library"></a>Library</h3><pre>

Fixes problems:
	- The gs_image_* API didn't work for ImageType 3 images.  Fixing
this required a small (but backward-compatible) API change.  (fix mostly
provided by Artifex)  (gsimage.h, gsimage.c)
	- The change in the bbox device in 5.95 broke it for the case where
it was being used in a pipeline.  (gdevbbox.c)
	- A possible overflow wasn't detected when stroking lines with very
large coordinates.  (gxstroke.c)
	- A mask was sized incorrectly.  (gsdcolor.h)

Updates the runtime support for compiled halftones.  (gxdhtres.h, gscdefs.h,
gconf.c, gxclrast.c, gxhtbit.c)

Replaces all references to the now-deprecated x/y_pixels_per_inch with
HWResolution[0/1].  (gsdevice.c, gxclist.c, gxpcmap.c)

</pre>

<hr>

<h2><a name="Version5.98"></a>Version 5.98 (beta) (1999-12-01)</h2>

<h3><a name="5.98_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- The return type of init_proc is changed from void to int.
	- The return types of gs_lib_init* are changed from void to int.
(Interpreter)
	- The return types of gs_[main_]init*, gs_[main_]add_lib_path,
gs_[main_]set_lib_paths, and a number of internal initialization-related
procedures are changed from void to int.

</pre><h3><a name="5.98_Documentation"></a>Documentation</h3><pre>

Improves the documentation of the clist_render_rectangle procedure.
(gxclist.h)

Makes it clear that pre-public-release filesets should not be redistributed.
(doc/Tester.htm)

Clarifies that the parameters for the X driver are command line switches,
not X resources.  (doc/Use.htm)

Improves the documentation of ps2pdf in response to some user comments.
(doc/Ps2pdf.htm)

Documents the initial settings of the distiller parameters.
(doc/Ps2pdf.htm)

Documents the UniqueIDs assigned to Aladdin.  (lib/gs_fonts.ps)

Updates the documentation for the stochastic halftone mask.  (doc/Make.htm)

Removes some obsolete material.  (doc/Release.htm)

</pre><h3><a name="5.98_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The new ps2pdf* scripts weren't included in the Unix install list.
(unixinst.mak)
	- The directory names were missing in BEGINFILES.  (openvms.mak)
	- The .pl and .sh scripts weren't included in the Unix install list.
(unixinst.mak)

Updates all-arch.mak with a newer version from its contributor.
(all-arch.mak)

Updates the makefiles for a change in eexec modularization.  (devs.mak,
int.mak, lib.mak)

</pre><h3><a name="5.98_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The dvipdf usage message was incorrect.  (lib/dvipdf)

Adds a utility for mechanically adding the Adobe extended Latin characters
(primarily Central European accented letters) to a font.  Eventually we
would like to integrate this into the font loader and/or make extended
versions of the standard 35 fonts.  (lib/addxchar.ps)

</pre><h3><a name="5.98_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- psdf_sorted_glyphs_include didn't handle empty lists correctly.
(gdevpsdf.c)
	- A reference to a #defined constant hadn't been converted to upper
case.  (gdevpsdf.h)
	- Acrobat Reader couldn't handle &lt;&gt; as the definition of
Notice in an embedded font's FontInfo dictionary: it requires a () 
string. (gdevpsd1.c)
	- The [e]pswrite driver didn't take stroked paths into account when
computing the bounding box.  (gdevps.c)

Updates gdevwpr2.c with a new version from its most recent author.
(gdevwpr2.c)

</pre><h3><a name="5.98_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- The FONTPATH file scanner wasn't protected against errors.
(lib/gs_fonts.ps)
	- Some badly designed Chinese TrueType fonts, whose 'post' table
gives the name .null to all glyphs, didn't work properly.  (lib/gs_ttf.ps)
	- The shareware Katakana font had an incorrect UniqueID.
(fonts/fkarw.gsf)

Adds all of the PostScript 3 fonts to the intelligent substitution tables.
(lib/gs_fonts.ps)

Changes the FONTPATH scanner to allow a %%BeginFont: line as the first line
of a font.  Nothing in Adobe's documentation suggests that this is
acceptable, but some fonts have it.  (lib/gs_fonts.ps)

Releases an updated set of the URW fonts, fixing the braceleftbt problem in
the Symbol font and a couple of missing characters in the ZapfDingbats
fonts, and adding the Euro glyph to the alphabetic fonts.  The new archive
also includes fonts.scale and fonts.dir files for use with X Windows
(mkfontdir and xfs).

Centralizes the definition of Aladdin's XUIDs.  (lib/gs_fonts.ps,
lib/gs_ttf.ps)

</pre><h3><a name="5.98_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- The algorithm for making font names unique didn't take subset
prefixes into account.  (gdevpdff.h, gdevpdff.c, gdevpdfw.c)
	- Computing character bounding boxes was taking an inordinate amount
of time.  (performance problem only) (gdevpdff.c)
	- The pdf_image_writer and pdf_image_enum structures didn't have GC
descriptors, possibly causing memory corruption.  (gdevpdfi.c)
	- PostScript files containing images with premature end-of-data were
converted to PDF files with premature end-of-data, which Acrobat doesn't
accept. (gdevpdfo.h, gdevpdfx.h, gdevpdfi.c, gdevpdfo.c, gdevpdfu.c)
	- Pattern resources whose image was written in-line omitted a needed
gsave (q).  (bug introduced in 5.94) (gdevpdfi.c)
	- The similarity between a font and a base font wasn't computed
correctly, leading to some unnecessary writing of Widths for standard fonts.
(gdevpdft.c)
	- Embedding a stream in the psdf_binary_writer caused garbage
collector problems, because there could be pointers to that stream from
elsewhere.  (gdevpsdf.h, gdevpsdf.c)
	- The algorithms for deciding whether a font was script or serif
were very inaccurate.  (The revised ones are only somewhat better.)
(gdevpdff.c)
	- Re-encoded characters in subset fonts weren't handled correctly.
We work around this by writing the entire font if the character doesn't
appear in the font's encoding.  This is inefficient but will always produce
correct output.  (gdevpdff.h, gdevpdff.c, gdevpdft.c, gdevpdfw.c)
	- The meaning of bit 6 in the Flags was supposed to have changed in
PDF 1.2, but didn't.  (gdevpdff.h, gdevpdff.c, gdevpdfw.c)
	- The Widths array didn't get written out for embedded subsets of
the built-in fonts.  (gdevpdfw.c)
	- Planar images weren't handled correctly, and could cause memory
corruption.  (gdevpdfi.c)
	- Patterns still weren't scaled correctly; in fact, the "fix" in
5.94 can't possibly have worked, and we don't understand why it seemed to.
(gdevpdfi.c)

Recants the belief that the default encoding for embedded fonts is
StandardEncoding (see 5.95): the appearance of this was a symptom of having
multiple fonts with the same name.  (gdevpdft.c)

Removes FONT_EMBED_UNKNOWN, which is meaningless (a decision is always made
about whether to embed a font).  (gdevpdff.h, gdevpdff.c, gdevpdft.c)

Changes the algorithm for picking the base font so that it produces more
efficient output for certain cases of re-encoded fonts.  (gdevpdft.c)

</pre><h3><a name="5.98_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Fonts were getting renamed unnecessarily.  (performance and PDF
output size problem only) (lib/pdf_font.ps)
	- Fonts with Widths but no FontDescriptor caused an error.
(lib/pdf_font.ps)
	- TrueType fonts processed the Encoding key in the font the same way
as other font types, which is not correct.  (lib/pdf_font.ps)
	- For embedded Type 3 fonts, the Widths entry in a font didn't
override the width in the CharProc.  (lib/pdf_font.ps, lib/pdf_ops.ps)
	- If a page had multiple Contents streams, and one of the streams
ended with values on the operand stack, an error might occur.
(lib/pdf_main.ps)
	- Ts and Tz within a text object didn't take effect immediately.
(lib/pdf_ops.ps)
	- sc[n] and SC[N] could cause an error because Do left an extra item
on the stack temporarily.  (lib/pdf_draw.ps)

</pre><h3><a name="5.98_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Getting the unscaled outline for a Type 1 font didn't disable
hinting.  (mostly a performance problem) (zchar1.c)
	- Error conditions during initialization weren't recognized.  Fixing
this required changing various return types from void to int.  (ialloc.h,
iinit.h, imain.h, interp.h, ialloc.c, iinit.c, imain.c)
	- HalftoneMode didn't affect setscreen or setcolorscreen.
(lib/gs_init.ps, lib/gs_ll3.ps)

Makes the interpreter quit with a message, rather than a stack dump, if it
can't open the initial device and DEBUG is not set.  (lib/gs_init.ps)

Adds .setlimitclamp and .currentlimitclamp operators to access the limit
clamp flag in the graphics state.  (zgstate.c)

Changes the names of the stochastic halftone mask to be more descriptive.
(lib/ht_ccsto.ps, int.mak, unixinst.mak)

</pre><h3><a name="5.98_Streams"></a>Streams</h3><pre>

Adds the ability to forbid using hex encoding when writing strings.
(spsdf.h, spsdf.c)

</pre><h3><a name="5.98_Library"></a>Library</h3><pre>

Fixes problems:
	- Computing the width of a glyph unnecessarily constructed the
entire outline.  (performance problem only) (gxtype1.c)
	- Getting the unscaled width of a glyph in a Type 1 font didn't
disable hinting.  (mostly a performance problem) (gxtype1.c.)
	- The "unknown device" GC descriptor is no longer used.  (gsdevice.c)
	- Some compilers *still* complained about end-of-loop code not being
reached.  (gxpath2.c)
	- Mixing float and double values sometimes caused spurious lines to
be drawn when stroking very short lines with large widths.  (fix from
Artifex) (gxpdash.c)
	- The code for handling crossing lines in the path filling algorithm
sometimes computed line crossings incorrectly, causing excessive
computation.  (gxfill.c)
	- When oversampling for anti-aliasing, the flatness parameter was
not scaled, leading to unnecessarily accurate curve rendering.  (gspaint.c)
	- An extra grestore in a Pattern PaintProc could cause a crash.
(gxpcmap.c)
	- Error conditions during initialization weren't recognized.  Fixing
this required changing the return type of init_proc, and various other
internal procedures, from void to int.  (std.h, gslib.h, gscdefs.h,
gshtscr.c, gsiodev.c, gslib.c, gsutil.c)

Splits off the Type 1 encryption/decryption code into a separate file for
sharing with the eexec streams.  (gscrypt1.c, gxtype1.c)

</pre>

<hr>

<h2><a name="Version5.97"></a>Version 5.97 (beta) (11/22/99)</h2>

<p>
This is the next beta for 6.0.  We believe the pdfwrite driver (ps2pdf) now
finally produces Acrobat-acceptable output, with reasonable handling of
fonts, and have also fixed the problem with high-level image banding.  We
are cautiously hopeful that this is a "real" beta candidate.

<h3><a name="5.97_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Drivers)
	- The default CompatibilityLevel in the pdfwrite driver is now back
to 1.3.
(Library)
	- The seac_data procedure of a Type 1 font must now be able to
return the glyph and/or the actual outline data.

</pre><h3><a name="5.97_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- A &lt;br&gt; was missing.  (doc/Release.htm)
	- The final step of copying releases to www.aladdin.com was missing.
(doc.Release.htm)

Documents the new situation with the ps2pdf* scripts.  (doc/Ps2pdf.htm)

Documents the simplification of the pthreads code.  (doc/Helpers.htm,
doc/Make.htm)

Adds a requirement to the license that modifications include the name and
e-mail address of the author, and the date and purpose of the modification.
(doc/Public.htm)

Adds a link to the documentation for setdistillerparams.  (doc/Ps2pdf.htm)

</pre><h3><a name="5.97_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- On OpenVMS, the test for whether the bin and obj subdirectories
already existed was incorrect.  (openvms.mak, openvms.mmk)
	- The recently updated Borland/Inprise makefile deleted some temp
files prematurely.  (bcwin32.mak)
	- The dependencies for the Unix install-scripts and install-data
targets were incorrect.  (unixinst.mak)

Updates the RPM spec files.  (gs.rps, gs-fonts.rps, rpm-conf.dif)

Adds support for compilation with Borland/Inprise C++Builder 3.
(bcwin32.mak, winint.mak)

Adds a note on font installation under Red Hat Linux 6.  (doc/Install.htm)

</pre><h3><a name="5.97_Utilities"></a>Utilities</h3><pre>

Adds ps2pdf12 and ps2pdf13 scripts to select the PDF output level
explicitly; makes ps2pdf a wrapper for ps2pdf12.  (lib/ps2pdf,
lib/ps2pdf.bat, lib/ps2pdf12, lib/ps2pdf12.bat, lib/ps2pdf13,
lib/ps2pdf13.bat, lib/ps2pdfwr, lib/ps2pdfwr.bat)

Updates the Windows install/setup program to display the Aladdin start menu
folder on a successful install, so that the user gets some feedback that all
went well.  (dwinst.cpp, dwsetup.cpp)

</pre><h3><a name="5.97_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The lj5{mono,gray} drivers didn't send the page size to the
printer.  (gdevpxut.h, gdevlj56.c, gdevpx.c, gdevpxut.c)
	- The pxl drivers didn't handle out-of-range points properly.
(gdevvec.c, gdevpx.c)
	- The bmpa drivers didn't produce multi-page output files correctly
-- all pages but the first were blank.  (The bmp format is supposed to be
single-page, but at least some readers handle multi-page files correctly.)
(gdevbmpa.c)
	- The code for writing embedded TrueType fonts was broken.  (bug
probably introduced in 5.9x) (gdevpsdt.c)

Removes an unused variable.  (gdevbmpa.c)

</pre><h3><a name="5.97_Platforms"></a>Platforms</h3><pre>

Replaces the 4 pthreads files, which included a dependence on the non-POSIX
&lt;semaphore.h&gt;, with a single file that uses only pthreads procedures.
(gp_psync.c, gp_posem.c [deleted], gp_pthr.c [deleted], gp_ptsem.c
[deleted], gp_semon.c [deleted])

</pre><h3><a name="5.97_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- Whether or not to write the Widths array was implicit in the data
structures rather than explicit, so it was sometimes written unnecessarily.
(gdevpdfx.h, gdevpdff.c, gdevpdft.c)
	- Fonts based on the 14 built-in fonts didn't set BaseFont to the
name of the built-in font.  (gdevpdff.c)
	- The determination of whether a glyph was available was incorrect
for embedded fonts, leading some glyphs to be turned into bitmaps
unnecessarily.  (gdevpdft.c)
	- Apparently Acrobat Reader gets confused if different subsets of
the same font have different FirstChar and LastChar values, so we have to
write the full Widths array each time.  (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
	- A structure member wasn't initialized when processing pdfmark
annotations, possibly causing a memory access error.  (gdevpdfm.c)
	- The typedef for gx_device_pdf had a typo.  (gdevpdfx.h)
	- Each embedded font subset had its own FontDescriptor and its own
font data, confusing Acrobat Reader.  Fixing this required sharing
FontDescriptors among multiple fonts and making FontDescriptors
pseudo-resources.  (gdevpdff.h, gdevpdfx.h, gdevpdf.c, gdevpdff.c,
gdevpdft.c, gdevpdfw.c)
	- Incrementally defined embedded Type 1 fonts didn't write out
correct Widths.  (gdevpdff.c)
	- PDF resources didn't consistently record the gs_id of the
structure they represented, possibly causing resources to be duplicated
unnecessarily.  (gdevpdff.c, gdevpdfu.c)

Reinstates PDF text output.  (gdevpdf.c)

Changes the default CompatibilityLevel in the pdfwrite device back to 1.3,
since the ps2pdf scripts now make it easy to choose the PDF level.
(gdevpdf.c)

When possible, uses the widths obtained from the font, rather than the
default implementation of text_process, to complete the text_process
operation.  This greatly speeds up the conversion process.  (gdevpdft.c)

Allows character remapping (but not reencoding) of TrueType fonts.
(gdevpdft.c)

Factors the definitions for cos objects and font-related objects into header
files more thoroughly.  (gdevpdff.h, gdevpdfo.h, gdevpdfx.h, gdevpdf.c,
gdevpdff.c, gdevpdfi.c, gdevpdfm.c, gdevpdfr.c, gdevpdft.c, gdevpdfu.c)

Makes the names of some structure elements correspond more directly to keys
in PDF directories.  (gdevpdff.h, gdevpdff.c, gdevpdft.c)

Splits off the font-writing code, since a source file was getting too big.
(gdevpdff.h, gdevpdff.c, gdevpdfw.c)

Adds CharSet information to embedded Type 1 font descriptors.  (gdevpdfw.c)

Makes all font names in the output unique, selected by static bool
MAKE_FONT_NAMES_UNIQUE.  (gdevpdff.h, gdevpdff.c, gdevpdft.c)

Reinstates support for one special case of composite fonts (8/8 mapping with
the high order byte always zero) that is used by the AdobePS4 Windows
driver.  (gdevpdft.c)

Changes the assumption about the default encoding for embedded TrueType
fonts from StandardEncoding to no known encoding.  (gdevpdft.c)

Changes FONT_EMBED_BASE14 to FONT_EMBED_STANDARD for greater
descriptiveness.  (gdevpdff.h, gdevpdff.c, gdevpdft.c)

</pre><h3><a name="5.97_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The same-font test for Type 1 fonts didn't correctly identify
re-encoded fonts with unchanged metrics.  (zfont1.c)
	- If a save level was split into multiple internal save objects,
some changes could get undone before objects were finalized.  (isave.c)
	- When releasing all of memory, stable allocators weren't finalized.
(isave.c)
	- Some compilers gave annoying and needless warnings about integer
overflow.  (store.h)
	- There was a signed/unsigned char * mismatch.  (iccfont.c)

Adds a debugging procedure.  (idebug.h, idebug.c)

Changes the Type 1 font seac_data procedure to match the new API.
(zchar1.c)

</pre><h3><a name="5.97_Library"></a>Library</h3><pre>

Fixes problems:
	- The GC didn't know about the pointers to the tables for Indexed
color spaces when banding, occasionally causing the tables to be written as
garbage.  This is the real fix for the problem discovered in 5.96.
(gsiparam.h, gxclist.h, gxiparam.h, gxclimag.c, gxclist.c, gxclpath.c)
	- With 'async' drivers, multi-page files didn't render properly
(they got a rangecheck error on every page after the first one).
(gdevprna.c)
	- Some compilers still complained about end-of-loop code not being
reached.  (gxpath2.c)
	- The scaled font cache required that a font have a UID in order to
be a candidate for caching.  (gsfont.c)
	- An obsolete check caused slight discrepancies between banded and
non-banded output.  (gxstroke.c)
	- The glyph_outline procedure for TrueType fonts transformed the
width by the scaling matrix twice.  (gstype42.c)

Removes some now-unnecessary extern_st declarations.  (gdevbbox.c,
gdevplnx.c, gximage3.c)

Removes some initializations that read uninitialized locations and are
logically unnecessary.  (gsalloc.c, gscolor.c)

Adds makefile rules for compiling the MD5 implementation.  (lib.mak)

Makes the seac_data of a Type 1 font return the glyph and/or the actual
outline data.  This is necessary because some Type 1 fonts don't have the
accents in the same positions as StandardEncoding, but use seac anyway.
(gxfont1.h)

Changes the Type 1 font interpreter to match the new seac_data API.
(gxtype1.c)

</pre>

<hr>

<h2><a name="Version5.96"></a>Version 5.96 (beta) (11/12/99)</h2>

<p>
This is the next beta for 6.0.  To meet a need of our commercial licensing
partner for a PostScript LL3 release, we are releasing this fileset with all
font handling in the PDF writer disabled, as well as high-level image
banding.  This is a temporary measure: we will reinstate PDF text in 5.97,
and high-level image banding as soon as we can straighten out its memory
management problems.

<h3><a name="5.96_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- All Unix 'make' programs must now predefine MAKE as the name of
the program.
(Interpreter)
	- zcolor_remap_one now returns o_push_estack rather than 0 in the
case where it doesn't actually have to sample the procedure.
(Library)
	- Multi-plane halftones (when needed) are now used for all CMYK
devices, not only if setcolorscreen was executed.
	- Font implementors must now provide a same_font procedure.

</pre><h3><a name="5.96_Documentation"></a>Documentation</h3><pre>

Makes it clear that gsnup.ps is very simple and naive.  (doc/Psfiles.htm,
lib/gsnup.ps)

Documents the new -Z_ switch.  (doc/Use.htm)

Documents that SYNC=nosync allows building on systems that don't support
multi-threading.  (doc/Make.htm)

Adds documentation for building on Macintosh Rhapsody systems.
(doc/Make.htm)

Adds a reference to the new all-arch.mak file.  (doc/Helpers.htm,
doc/Make.htm)

Notes that ps2pdf does preserve the color space for images.
(doc/Ps2pdf.htm)

Documents the new self-extracting archive for MS Windows.  (doc/Install.htm,
doc/Release.htm)

Further improves the documentation of the PDF text machinery.  (gdevpdfx.h)

Reorganizes the build information for Unix.  (doc/Make.htm)

Adds information on building Ghostscript under BSDI.  (doc/Make.htm)

Notes that versions of zlib before 1.1.3 may cause an error on rare
occasions.  (zlib.mak)

Fixes a few other minor problems.  (doc/Current.htm, doc/Devices.htm,
doc/DLL.htm, doc/Install.htm, doc/Language.htm, doc/Make.htm,
doc/New-user.htm, doc/Ps2pdf.htm, doc/Source.htm, doc/Use.htm)

</pre><h3><a name="5.96_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- dctd.dev and dcte.dev were defined in $(PSD), but referenced in
$(GLD).  (devs.mak, int.mak, lib.mak)
	- pipe.dev was defined in $(GLD), but referenced in $(PSD).
(bcwin32.mak, dvx-gcc.mak, msvc32.mak, unix-gcc.mak, unixansi.mak,
unixtrad.mak)
	- XLIBDIRS was included in the linker command even if none of the
X drivers were used.  (devs.mak, dvx-tail.mak, ugcclib.mak, unixlink.mak)
	- The OpenVMS makefile didn't create the obj and bin directories
properly.  (openvms.mak)
	- 'make debug' and 'make pg' didn't work on Unix systems where the
make program was named something other than make.  (unix-end.mak)

Introduces a new top-level makefile macro, STDLIBS, that is -lm for all
reasonable platforms but null for Rhapsody.  (dvx-gcc.mak, dvx-tail.mak,
ugcclib.mak, unix-gcc.mak, unixansi.mak, unixlink.mak, unixtrad.mak)

Adds Nelson Beebe's contributed multi-architecture Unix makefile.
(all-arch.mak)

Makes it theoretically possible in theory to build the new Windows
install/uninstall program with the Borland compiler.  However, since this
requires Borland C++ 4.52 and we only have 4.5, this is disabled in
bcwin32.mak.  (bcwin32.mak, winint.mak)

</pre><h3><a name="5.96_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The default for gsnup.ps was 3x2 landscape, rather than 2x2
portrait.  (lib/gsnup.ps)
	- gslp.ps was broken (by the changes made to support gsnup.ps).
(lib/gslp.ps)

Adds a -link switch to genconf, to allow verbatim copying of commands into
the linker command line.  (genconf.c)

Edits files to add missing $Id lines and module summary comments, and to
delimit module summary comments from further material.  (dwinst.h,
dwsetup.h, dwuninst.h, bench.c, dwuninst.cpp)

Makes it possible to build the new Windows install/uninstall program with
the Borland compiler.  (dwinst.cpp, dwsetup.cpp, dwsetup.def, dwsetup.rc,
dwuninst.cpp, dwuninst.def)

</pre><h3><a name="5.96_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- Embedded Type 1 fonts lacked some 'def' commands.  (gdevpsd1.c)
	- Multiple Master Font instances weren't written out correctly.
(gdevpsd1.c)

Edits files to add missing $Id lines and module summary comments, and to
delimit module summary comments from further material.  (gdev8bcm.h,
gdevht.h, gdevpccm.h, gdevpcl.h, gdevsvga.h, gdevx.h, gdev3852.c,
gdev8510.c, gdevadmp.c, gdevcd8.c, gdevcif.c, gdevclj.c, gdevhl7x.c,
gdevifno.c, gdevimgn.c, gdevl31s.c, gdevmeds.c, gdevmswn.c, gdevos2p.c,
gdevpe.c, gdevpm.c, gdevsj48.c, gdevtknk.c, gdevupd.c, gdevwddb.c,
gdevwpr2.c, gdevwprn.c)

</pre><h3><a name="5.96_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The pthreads wrapper had a procedure type mismatch.  We fixed this
by making it allocate and free a wrapper object, as the Windows wrapper
does.  (gp_pthr.c)

Edits files to add missing $Id lines and module summary comments, and to
delimit module summary comments from further material.  (dwimg.h, dwmain.h,
gsdll.h, gp_msio.c, gp_mswin.c)

Removes an unnecessary #include &lt;semaphore.h&gt;.  (gp_semon.c)

Adds a module that implements semaphores using the pthreads mutex
facilities, as an alternative to gp_posem.c.  Unfortunately, using this
module causes immediate crashes on both Linux and BSDI, and we don't know
why.  (Let us know if you figure it out.)  (gp_ptsem.c)

</pre><h3><a name="5.96_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- The character and word spacing weren't recognized as being reset
by a PDF grestore.  (gdevpdfx.h, gdevpdfu.c)
	- Fonts that couldn't be embedded were always converted to bitmaps,
rather than becoming candidates for non-embedded representation (if
EmbedAllFonts is false and the font doesn't appear on the AlwaysEmbed list).
(gdevpdfx.h, gdevpdff.c, gdevpdft.c)
	- Stream-type Cos objects were written with no (0-length) data.
(gdevpdfm.c)
	- Reencoded base 14 fonts were not recognized as such, leading to
excessive font embedding.  (gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdft.c)
	- Fonts were embedded by default even if EmbedAllFonts was false.
(gdevpdft.c)

Changes MaxSubsetPct to 35 to match Acrobat Distiller.  (gdevpsdf.h)

Adds some tracing output (-Z_).  (gdevpdff.c, gdevpdft.c)

Temporarily disables font handling in the PDF writer, to meet a need of our
commercial licensing partner.  All text will be converted to code-scrambled
Type 3 bitmap fonts.  (gdevpdf.c)

</pre><h3><a name="5.96_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The sh operator caused an invalidaccess error for shadings that
required a DataSource.  (lib/pdf_draw.ps)
	- The test for whether a Widget appearance was a Form or a
collection of sub-appearances was incorrect, causing an /undefined error in
the latter case.  (lib/pdf_draw.ps)
	- If the FontName in a Font descriptor differed from the BaseFont
name in the Font object, the interpreter used the two inconsistently,
sometimes causing the wrong font to be used.  (lib/pdf_font.ps)
	- ICCBased color spaces caused an error.  (lib/pdf_draw.ps)

Works around the fact that Acrobat Distiller produces files in which a
Widget's Form appearance lacks Type and Subtype keys.  (lib/pdf_draw.ps)

</pre><h3><a name="5.96_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Failure in allocating the name table would cause a crash.
(iname.c)
	- Shadings with procedure-based filters didn't work.
(lib/gs_ll3.ps, ifilter.h, zfileio.c, zfproc.c)
	- Some compilers complained about arithmetic on an enum.  (iparam.c)
	- Setting a transfer or similar function to the identity function
didn't set the cached values, so the setting didn't consistently take
effect.  (icolor.h, zcolor.c)
	- If the C library's implementation of sprintf with a %g format ever
produced a number with an exponent but no decimal point, a crash would
occur.  (iutil.c)
	- The PageDeviceName page device parameter wasn't supported.
(lib/gs_lev2.ps, lib/gs_setpd.ps)
	- A public procedure wasn't declared extern if DEBUG wasn't set.
(igc.h)
	- Because of a typo, loading resources automatically from a file
always failed.  (bug introduced in 5.94) (lib/gs_res.ps)

Edits files to add missing $Id lines and module summary comments, and to
delimit module summary comments from further material.  (files.h, iastate.h,
ibnum.h, ichar.h, ifilter.h, iimage.h, iimage2.h, iparam.h, isave.h,
iscan.h, isstate.h, istream.h, iutil.h, opcheck.h, scanchar.h)

Adds a font similarity testing procedure for Type 1/2/4 fonts.  (zfont1.c)

</pre><h3><a name="5.96_Streams"></a>Streams</h3><pre>

Edits files to add missing $Id lines and module summary comments, and to
delimit module summary comments from further material.  (sbhc.h, sbtx.h,
sbwbs.h, sdct.h, scfdgen.c, scfdtab.c, shcgen.h, siscale.h, sjpeg.h,
slzwx.h, smtf.h, spdiffx.h, spngpx.h, srlx.h)

</pre><h3><a name="5.96_Library"></a>Library</h3><pre>

Fixes problems:
	- Making a transformed font inappropriately copied the font's
notification list.  (gsfont.c)
	- Some compilers complained about end-of-loop code not being
reached.  (gxpath2.c)
	- The first two arguments of scale_delta was swapped, causing
anomalous output for certain Type 1 fonts with curves where the starting and
ending points had the same X or Y coordinate.  (gxhint3.c)
	- Large smoothness values produced blocky output.  (gxshade.c)
	- When banding, in a region where a CMYK halftone had no K at all,
the output was likely to be black rather than the correct color.  (gxcht.c)
	- Interpolated images with mirrored X scaling weren't mirrored.
(gxiscale.c)
	- Interpolated images were truncated.  (gxiscale.c)
	- Halftone caches could have a dangling pointer to a transfer map in
the halftone order.  (gxht.c)
	- The next-character code returned for kshow was the same as the
current character.  (bug probably introduced in 5.86) (gstext.c)
	- The GC didn't know about the pointers to the tables for Indexed
color spaces when banding, occasionally causing the tables to be written as
garbage.  In the process of investigating this, we discovered that the GC
didn't know about *any* of the pointers in the structures used to track
banded images.  ****** NOT FIXED, TOO MUCH RISK OF INTRODUCING FURTHER
BUGS. ****** Instead, we disabled high-level image banding in this fileset.
(gxclimag.c)

Changes the name of a variable from ppc to ppcr, because an Apple compiler
inappropriately defines the name ppc when compiling on a PowerPC.
(gxshade6.c)

Edits files to add missing $Id lines and module summary comments, and to
delimit module summary comments from further material.  (gdevbbox.h,
gscoord.h, gscpixel.h, gsfname.h, gsfont.h, gsimage.h, gslib.h, gsmdebug.h,
gspaint.h, gspath.h, gspath2.h, gxalloc.h, gxclipm.h, gxclpage.h,
gxclpath.h, gxcmap.h, gxcoord.h, gxcpath.h, gxdda.h, gxdevmem.h, gxfcache.h,
gxfont.h, gximage.h, gxiodev.h, gxpaint.h, gxpath.h, gxpcolor.h, gzacpath.h,
gzcpath.h, gzht.h, gzpath.h, md5.h, gxdither.c, md5.c)

Adds a prototype for debug_find_pointers.  (gxalloc.h)

Adds a font procedure for testing whether two fonts are the same in various
ways.  This is needed so that the PDF writer can do a reasonable job of
identifying reencoded and renamed versions of the base 14 fonts.  (gxfont.h,
gsfont.c)

Changes a macro to a procedure and improves some commenting.  (gxhint3.c)

Changes the halftoning code so that multi-plane halftones are always used on
CMYK devices, even if only a single halftone is set (setscreen or
HalftoneType 1).  (gxcht.c, gxdither.c)

</pre>

<hr>

<h2><a name="Version5.95"></a>Version 5.95 (beta) (11/1/99)</h2>

<p>
There were several new problems in 5.94, some of them severe.  We hope this
beta candidate fixes them without introducing any new ones.  It also fixes
some minor problems not reported in 5.93.

<p>
We think we have finally found the right workarounds for Acrobat and
specification problems so that pdfwrite output (with CompatibilityLevel
either 1.2 or 1.3) both conforms as closely as possible to the published PDF
specification and works with Acrobat Reader (3 or 4 respectively) for both
displaying and printing.

<p>
NOTE: The default level of output from the pdfwrite device (ps2pdf) has been
changed back to PDF 1.2 (Acrobat 3 compatible), because this is what the
majority of users want.  For PDF 1.3 output, use -dCompatibilityLevel=1.3.

<p>
Note: some post-6.0 code is included under an #ifdef POST60.

<h3><a name="5.95_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Drivers)
	- The default CompatibilityLevel in the pdfwrite device (ps2pdf) is
now 1.2 rather than 1.3.
	- pdfwrite now discards information after the last showpage rather
than producing an additional page.
(Library)
	- The is_monotonic procedure of a function now returns a result that
indicates the direction of monotonicity of each value separately.
	- The coordinate system used internally by the bbox device is now
upright (lower left corner = (0,0) rather than upper left corner).  (This
should not make any difference to clients, who should always have been using
default user space coordinate.)

</pre><h3><a name="5.95_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- A couple of URLs were incorrect or out of date.  (doc/Readme.htm,
doc/Use.htm)
	- There was a typo in a comment.  (gxfont.h)
	- An old bug had been fixed, but the documentation had not been
updated to reflect this.  (doc/Current.htm)

Documents the requirement to change SYNC from posync to fbsdsync on FreeBSD.
(doc/Make.htm)

Adds references to Adobe's on-line documentation.  (doc/Readme.htm)

Updates the release procedure to mention adding .ps files.
(doc/Release.htm)

Adds documentation for the bbox device.  (doc/Use.htm)

Documents the new gsnup.ps utility.  (doc/Psfiles.htm)

Modifies the gslp utility for greater page independence and smaller output
files.  (lib/gslp.ps)

Documents the fact that the default output from pdfwrite is PDF 1.2.
(doc/Ps2pdf.htm)

Adds Inprise (as the new name of the Borland tools) in a few places.
(doc/Make.htm)

Updates the release documentation slightly.  (doc/Release.htm)

</pre><h3><a name="5.95_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- FreeBSD uses a different name for the pthreads implementation.
(lib.mak, unixansi.mak, unix-gcc.mak, unixtrad.mak)

Encapsulates gsnogc.$(OBJ) in a gsnogc.dev module, to make it more sharable.
(lib.mak)

</pre><h3><a name="5.95_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- guilsinglleft and guilsinglright were misspelled.
(lib/ps2ascii.ps)
	- The ps2pdf script didn't handle the -I switch correctly.  We fixed
this by including the options twice, both before and after the automatically
supplied options.  (lib/ps2pdf, lib/ps2pdf.bat)

Adds an install/uninstall program for Windows 9x, including optional
generation of a self-extracting executable, written by Ghostgum Software Pty
Ltd.  This program is not actually used yet.  (msvc32.mak, winint.mak,
dwinst.*, dwsetup.*, dwuninst.*)

Adds a new environment parameter to arch.h, ARCH_DIV_NEG_POS_TRUNCATES.
(genarch.c)

Adds a utility for N-up printing.  (unixinst.mak, lib/gsnup.ps)

Changes ps2pdf so that if showpage has ever been executed, any partial page
after the last showpage is discarded rather than made into an additional
page.  This is consistent with printers, and correctly handles BeginPage
procedures that draw backgrounds.  (gdevpdf.c)

</pre><h3><a name="5.95_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The TIFF drivers could produce incorrectly sorted tag tables.
(gdevtifs.c)
	- The OS/2 PM driver had an incorrect #include.  (gdevpm.c)
	- Embedded Type 1 fonts that used seac didn't automatically include
the constituent glyphs.  (gdevpsd1.c)
	- Embedded Type 1 fonts wrote the wrong font name in the first
(comment) line.  (gdevpsd1.c)
	- Deleting elements from the AlwaysEmbed or NeverEmbed list could
cause a memory access error.  (gdevpsdp.c)
	- The string and string array members of psdf_distiller_params were
omitted from the GC descriptor, causing memory corruption.  (gdevpsdf.h,
gdevpsdf.c, gdevpsdp.c)
	- When using "async" printing, the buffer device was destroyed too
soon.  (fix from Artifex) (gdevbmpa.c)

Adds (partial) parsing for the new Acrobat Distiller 4.0 parameters, under
#ifdef POST60.  The put_params code isn't finished.  (gdevpsdf.h,
gdevpsdp.c)

</pre><h3><a name="5.95_Platforms"></a>Platforms</h3><pre>

Changes product to productfamily as the Windows registry key.  (gp_wgetv.c)

</pre><h3><a name="5.95_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- guilsinglleft and guilsinglright were misspelled in
MacRomanEncoding and MacGlyphEncoding.  (lib/gs_mro_e.ps)
	- plusminus was misspelled in MacGlyphEncoding.  (lib/gs_mgl_e.ps)
	- braceleftbt was misspelled as bracelefttbt in the Symbol font.
(fonts/s050000l.pfb)  ****** NOT DISTRIBUTED YET ******
	- euro was incorrectly included at position 240 in the Symbol
encoding.  (lib/gs_sym_e.ps)
	- Zcaron and zcaron weren't included in WinAnsiEncoding (this is new
for PDF 1.3).  (lib/gs_wan_e.ps)
	- Euro replaced currency in MacRomanEncoding.  We had to change this
back, even though the Mac does use code 219 for Euro, for compatibility with
Adobe documentation.  (lib/gs_mro_e.ps)
	- TrueType fonts with more glyphencoding entries than glyphs could
cause errors.  (lib/gs_ttf.ps)

Adds the Adobe Central European encoding.  (lib/gs_ce_e.ps, unixinst.mak)

Adds more tracing to the TrueType font loader.  (lib/gs_ttf.ps)

Adds the remaining PDF Encodings to the predefined set.  (lib/gs_lgo_e.ps,
lib/gs_lgx_e.ps, lib/gs_mex_e.ps, lib/gs_mgl_e.ps, lib/gs_mro_e.ps)

</pre><h3><a name="5.95_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- When printing an error message, a pointer/length string was
incorrectly treated as a C string.  (gdevpdfm.c)
	- The treatment of text was completely broken by "improvements" made
in 5.94.  We think we've put things back to a state that at least isn't any
worse than 5.93.  (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
	- The test for whether a glyph was present in a glyph set was wrong,
possibly causing an infinite loop.  (This never happened, because the code
was masked by other bugs.)  (gdevpdft.c)
	- Testing the PDF compatibility level didn't work correctly, because
of float/double mismatches.  (gdevpdfx.h, gdevpdfp.c)
	- Embedded TrueType fonts were still written in binary even if
ASCII85EncodePages was true.  (gdevpdff.c)
	- Embedded TrueType subsets didn't use Flags to indicate that they
had a non-standard cmap.  (gdevpdff.c)
	- Contrary to the obvious reading of the PDF specification, it
appears that the default encoding for embedded fonts, if no BaseEncoding is
specified, is StandardEncoding, *not* the built-in encoding of the font
itself; and that any differences from StandardEncoding must be listed
explicitly.  (gdevpdft.c)

Adds parsing for the new Acrobat Distiller 4.0 parameters, under #ifdef
POST60.  (lib/gs_pdfwr.ps, gdevpdfx.h, gdevpdfp.c)

Ensures that the Mac encodings are loaded when writing PDF.  (devs.mak)

Works around an Acrobat 3 bug: The only cmap table that works in TrueType
fonts is format 0, which can only reference glyphs up to 255.  Consequently,
a TrueType font whose Encoding references glyphs above 255 cannot be
embedded (as a font).  (gdevpdft.c)

Changes the default CompatibilityLevel from 1.3 to 1.2.  The majority of
users are running Acrobat 3.  (gdevpdf.c)

</pre><h3><a name="5.95_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The T* operator was changed incorrectly to use the negative of the
leading value.  (lib/pdf_ops.ps)
	- The Tz value scaled the X offset for Td and TD (which it
shouldn't), occasionally causing strings to be displaced horizontally.
(lib/pdf_ops.ps)
	- sc[n]/SC[N] didn't work with 1-value color spaces, because the
code incorrectly assumed the operand stack contained only the values on the
PDF operand stack.  (bug introduced by Annotation rendering in 5.94)
(lib/pdf_base.ps, lib/pdf_draw.ps, lib/pdf_main.ps, lib/pdf_ops.ps)
	- The HTP key in the graphics state caused an error if the
interpreter didn't implement sethalftonephase.  (lib/pdf_draw.ps)
	- If there was no Names tree, invalid links (string Dest values)
caused an error instead of being ignored.  (lib/pdf_main.ps)
	- An annotation with a Thread action caused an error.
(lib/pdf_main.ps)

Adds table entries, but not implementation, for the op and OPM keys in
ExtGState dictionaries.  (lib/pdf_draw.ps)

Works around a bug in Adobe Acrobat Distiller 4.0 for Windows: it uses the
value /Default with the BG, UCR, and TR keys in an ExtGState.
(lib/pdf_draw.ps, lib/pdf_main.ps)

Adds additional tracing for Functions.  (lib/pdf_draw.ps)

Implements the BG2, UCR2, and TR2 keys in ExtGStates.  (lib/pdf_draw.ps)

</pre><h3><a name="5.95_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- There was a (harmless) signed/unsigned mismatch.  (imainarg.c)
	- If build_gs_simple_font had to add any elements to the font
dictionary, a temporary pointer to the CharStrings could become invalid,
causing crashes or confusion.  (zbfont.c)
	- The check for known Encodings included some pseudo-Encodings.
(zbfont.c)
	- The error object wasn't reset to null before each call of the
interpreter, possibly causing the garbage collector to mark it even if it no
longer existed.  (interp.c)

Adds productfamily as a new predefined name, for the benefit of the Windows
registry.  (iinit.c)

Changes the default color smoothness to 0.02 to match Adobe RIPs.
(lib/gs_ll3.ps)

Adds using the glyph_info procedure for Type 1 fonts, needed to fix the
problem with seac and Type 1 embedded fonts.  (zfont1.c)

</pre><h3><a name="5.95_Library"></a>Library</h3><pre>

Fixes problems:
	- Memory devices that may execute RasterOp must be initialized with
an allocator (for temporary bitmaps), but sometimes they weren't.
(gdevdrop.c)
	- The computation of colors_used for images could cause arithmetic
exceptions and/or produce incorrect results.  (fix from Artifex)
(gxclimag.c)
	- A dead variable was getting incremented in a loop.  (Small
performance bug only.)  (gsfunc0.c)
	- The cached is_monotonic value in a function head was incorrectly
declared bool rather than int.  (gsfunc.h)
	- The clip operators didn't always recognize empty clipping regions:
sometimes they retained a 1-pixel-wide region.  (gxcpath.c)
	- The bbox device could get into a recursion loop if it had a
non-null target with a non-standard fill_path procedure.  (gdevbbox.c)
	- The procedure u32 was defined in two places.  (gsutil.h,
gdevpsdt.c, gsutil.c, gstype42.c)
	- The DataSource member of a sampled function wasn't reported to the
garbage collector.  (gsfunc0.h, gsfunc0.c)  ****** MUST DO THE SAME FOR
SHADINGS ******
	- All name-type parameters (device and other) were converted as
strings rather than names.  (gsparam.c)
	- Using a mask Pattern with an anti-aliased device could make
invalid memory accesses and cause a crash.  (gxpcmap.c)
	- math_.h was included unnecessarily.  (gxfill.c, gxhint3.c)
	- In a few places, (fixed-point) coordinates were truncated towards
zero rather than taking the floor.  (It's likely that this had no effect.)
(gxfill.c, gxpcopy.c)
	- The join and cap values weren't taken into account when dividing a
stroked path into bands, possibly causing some caps or joins to be dropped
if they fell exactly at band boundaries.  (gxclpath.c)
	- An arithmetic overflow in gx_adjust_if_empty could produce
incorrect output.  (gxfill.c)
	- Because the bbox device used a Y-inverted coordinate system, it
could produce incorrect results for out-of-bounds coordinates.  (gdevbbox.c)
	- The default font_info procedure didn't compute MISSING_WIDTH if
IS_FIXED_WIDTH wasn't requested.  (gsfont.c)
	- space_params wasn't managed properly, causing problems if the
device altered the default values.  (fix from Artifex) (gdevprn.c)
	- The Macintosh cmap table for embedded TrueType fonts was written
incorrectly.  (gdevpsdt.c)
	- The OS/2 table for embedded TrueType fonts could be inconsistent
with the cmap table.  (gdevpsdt.c)
	- In embedded subset TrueType fonts, loca entries beyond the last
occupied glyph contained garbage.  (gdevpsdt.c)
	- Embedded TrueType subsets didn't include the components of
composite glyphs.  (gdevpsdf.h, gdevpsd1.c, gdevpsdf.c, gdevpsdt.c)

Changes the is_monotonic procedure of Functions so that it reports the
direction of monotonicity of each value independently.  This allows a larger
class of functions to be detected as monotonic.  (gsfunc.h, gsfunc0.c,
gsfunc3.c)

Works around a bug in Fontographer that causes it to produce (or at least
allow users to produce) Type 1 fonts using seac in which the side bearing of
the accented character differs from the side bearing of the base glyph.  The
published Type 1 specification and Adobe's engineers agree that such fonts
are invalid, but the authors of Fontographer don't seem to care (this is the
4th Fontographer bug that we have had to patch around so far).  (gxtype1.h,
gstype1.c, gxtype1.c)

Adds gs_productfamily, for the benefit of the Windows registry.  (gscdefs.h,
gscdef.c)

Adds a glyph_info procedure for Type 1 fonts, needed to fix the problem with
seac and Type 1 embedded fonts.  (gxfont1.h, gxtype1.c)

Adds a gs_resize_struct_array procedure that either allocates or resizes an
object.  We have wanted this for quite a while.  (gsmemory.h, gsmemory.c)

Adds the remaining PDF Encodings to the predefined set.  Also adds string
names for the "real" encodings.  (gsccode.h)

Adjusts the format of embedded TrueType fonts to be closer to that produced
by Acrobat Distiller, in the hope of making Acrobat Reader accept them.
(gdevpsdf.h, gdevpsdt.c)

</pre>

<hr>

<h2><a name="Version5.94"></a>Version 5.94 (beta) (9/30/99)</h2>

<p>
This is (intended to be) the last beta candidate for the 6.0 release.  Most
changes other than added documentation are bug fixes.  In order to address a
last-minute problem report, we implemented a subset of Annotation rendering
for PDF files.

<p>
At the request of the Free Software Foundation, we removed support for GNU
readline from the Aladdin Ghostscript fileset.  See <a
href="Make.htm#GNU_readline">here</a> for more information.

<p>
We suspect that Acrobat's bugs and limitations still prevent embedded
TrueType fonts in files created by the pdfwrite device from working
properly, but we have neither the time nor the means to test this properly.

<h3><a name="5.94_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- For OpenVMS with MMK or MMS, the third-party libraries are now
located in [.&lt;lib&gt;] rather than [-.&lt;lib&gt;].
	- The OpenVMS makefiles now select the same set of devices as the
Unix makefiles.
	- The MS Windows and MS-DOS default installation directory is now
c:\Aladdin\gs#.# rather than c:\gs.
	- All top-level makefiles now need a definition of BUILD_TIME_GS.
(Drivers)
	- The cljet5 driver is renamed cljet5pr; there is a new cljet5
driver that doesn't attempt (and fail) to handle page rotation.
(Interpreter)
	- .getiodevice may return null.
(Library)
	- IODevices may now have a null name.

</pre><h3><a name="5.94_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The documentation of font searching was still wrong in both
places.  (doc/Fonts.htm, doc/Use.htm)

Notes that certain CodeWarrior code generation options produce incorrect
code.  (doc/Make.htm)

Removes an inaccurate and obsolete comment.  (lib/pdf_font.ps)

Notes that newer versions of the SGI compiler use a different switch for
setting the optimization limit.  (doc/Make.htm)

Notes that there may be code generation bugs in MSVC5 and later.
(doc/Make.htm)

Documents the new Fontmap.SGI file.  (doc/Use.htm)

Updates the documentation on installing Ghostscript on MS Windows.
(doc/Install.htm)

Documents the removal of the GNU readline interface.  (doc/Current.htm,
doc/Make.htm)

</pre><h3><a name="5.94_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The instcopy script, supposed to handle incompatibilities between
Unix `install' commands, didn't work.  (instcopy, unixinst.mak)
	- The Windows makefiles had an extra occurrence of `.' at the
beginning of the default search path.  (bcwin32.mak, msvc32.mak,
msvclib.mak, watc*.mak)
	- The OpenVMS makefile didn't automatically create the bin and obj
directories if needed.  (openvms.mak)

Changes the OpenVMS MMK/MMS makefile to expect the third-party libraries in
a subdirectory of the current directory, rather than a subdirectory of the
parent.  This makes it compatible with all the other makefiles.
(openvms.mmk)

Changes the OpenVMS makefiles to select the same set of devices as the Unix
makefiles.  (openvms.mak, openvms.mmk, unixansi.mak)

Changes the Windows and OS/2 default search paths to match the new
convention of installation rooted at c:\Aladdin.  (bcwin32.mak, msvc32.mak,
msvclib.mak, os2.mak, watc.mak, watclib.mak, watcw32.mak)

</pre><h3><a name="5.94_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The Type 1/2 CharString printer didn't handle undefined opcodes
correctly.  (lib/type1ops.ps)
	- There was no Unix script for pf2afm.  (lib/pf2afm)
	- The Type 1/2 font printing utilities didn't default lenIV to -1
for Type 2, and didn't handle lenIV = -1 correctly in some places.
(lib/type1ops.ps)
	- The font2c utility used the version of font2c.ps from whatever
existing Ghostscript executable was in the search path.  Fixing this
required adding a new parameter in all top-level makefiles, BUILD_TIME_GS.
(cfonts.mak, bcwin32.mak, dvx-gcc.mak, msvc32.mak, openvms.mak, openvms.mmk,
os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watcw32.mak)
	- The pfbtopfa usage message was incorrect.  (lib/pfbtopfa.ps)

</pre><h3><a name="5.94_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The pswrite driver didn't reset the clipping path when writing
low-level images, possibly causing output to be clipped incorrectly.
(gdevps.c)
	- The PNG drivers implicitly declared png_init_io.  Fixing this is
only possible in libpng versions 1.0.3 and later.  (gdevpng.c)
	- The cljet5 driver (now cljet5pr) set rotated = true if the page
was rotated, but didn't set it to false if the page wasn't rotated.
(gdevclj.c)
	- Embedded Type 1 fonts didn't include any FontInfo elements.
(gdevpsd1.c)
	- Specifying the DCTEncode filter for compressing images caused a
crash.  This problem is hard to fix correctly because of the complicated
initialization requirements of the JPEG encoder.  We patched around it by
substituting FlateEncode (when available) for DCTEncode.  (gdevpsdi.c)

Renames the cljet5 driver, which has special (and incorrect) hacks to handle
page rotation for the PCL interpreter, as cljet5pr; adds a new cljet5 driver
without the hacks.  (gdevclj.c)

</pre><h3><a name="5.94_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- On MS Windows and OS/2 systems, the wstdio pseudo-IODevice showed
up as an instance of the IODevice resource category, causing problems.
(gp_msio.c, gp_os2.c)

Adds a set of XBM/XPM icons in 4 sizes, contributed by Gintautas Grigelionis
(eragigr@ki.ericsson.se).  (lib/gs*.xbm, lib/gs*.xpm, unixinst.mak)

Brings the Windows and OS/2 code up to date, fixing some minor problems.
(gdevpm.c, gp_os2.c, gsos2.rc, gspmdrv.rc, os2.mak, pcwin.mak)

</pre><h3><a name="5.94_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- The font directory scanner (FONTPATH) didn't recognize TrueType
fonts tagged as 'true' rather than 0x00010000.  (lib/gs_ttf.ps)

Changes the TrueType font loader to use ISOLatin1Encoding for constructing
the CharStrings if there is a Microsoft Unicode cmap and no glyph names in
the post table.  This seems like a hack, but we aren't sure what the right
approach would be.  (lib/gs_ttf.ps)

Adds a Fontmap for SGI IRIX.  This just comments out those fonts that are
provided by DPS.  (lib/Fontmap.SGI)

</pre><h3><a name="5.94_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- Writing Patterns could cause a memory access error.  (bug
introduced recently) (gdevpdfi.c)
	- Filling with a pattern didn't reset the clipping path, possibly
causing output to be clipped incorrectly.  (gdevpdfi.c)
	- Patterns weren't scaled correctly.  (gdevpdfi.c)
	- The data for large Patterns could exceed Acrobat Reader's limit on
the length of a string.  (gdevpdfi.c)
	- copy_color did an extra gsave and concat.  (gdevpdfi.c)
	- Repeated color images weren't detected (performance bug only).
(gdevpdfi.c)
	- Names including control characters or spaces produced invalid
output.  (gdevpdfx.h, gdevpdfu.c)
	- A matrix multiply was in the wrong order, causing fonts with
non-zero translation in the FontMatrix to render at incorrect coordinates
(sometimes off the page).
	- If a font had one of the 14 standard names but had some characters
defined by PostScript procedures, the output file would be invalid.
(gdevpdft.c)
	- The graphics state line parameters were kept in two different
copies, causing bookkeeping errors.  (gdevpdfx.h, gdevpdf.c, gdevpdfd.c,
gdevpdfu.c)
	- If a page's BeginPage procedure did anything other than erase the
page to white, the resulting PDF file was invalid.  (gdevpdf.c)
	- Articles with the same title weren't merged properly.
(gdevpdfm.c)
	- The Threads element of the catalog wasn't an indirect object.
(gdevpdf.c)
	- Thread actions incorrectly converted the destination (thread
title) to a name, rather than leaving it as a string.  (gdevpdfm.c)
	- Fonts with the same name as the built-in ones, but not the
standard definitions, produced possibly incorrect output.  (gdevpdff.c)
	- The writer didn't recognize attempts to use Encodings with the
standard fonts that mentioned characters not present in the font's glyph
set.  (gdevpdft.c)

Ensures that the WinAnsiEncoding is loaded when writing PDF.  (devs.mak)

</pre><h3><a name="5.94_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The default (identity) CMap didn't map CID 0 to glyph 0.
(pdf_fonts.ps)
	- TrueType fonts with an explicit Encoding didn't work properly.
(lib/gs_ttf.ps)
	- If an embedded Type 1 font executed definefont more than once,
the wrong thing would happen.  (lib/pdf_font.ps)
	- The T* operator used the negative of the leading value.
(lib/pdf_ops.ps)

Implements a subset of Annotation rendering: only Widget annotations, only
Normal appearance, only S and D borders, no rounded-corner borders.  We did
this at the very last minute before the release, in order to respond to a
bug report, and it probably has some bugs.  (lib/pdf_draw.ps,
lib/pdf_main.ps)

</pre><h3><a name="5.94_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- If an input buffer boundary fell at exactly the wrong place, an
image whose input was coming from a stream could fail to read the stream EOD
marker.  (This is quite an old bug.)  (zimage.c)
	- On MS Windows and OS/2 systems, the wstdio pseudo-IODevice showed
up as an instance of the IODevice resource category, causing problems.
(lib/gs_res.ps, ziodev.c)
	- errorinfo in $error was undefined, rather than null, initially and
after errors that didn't set it deliberately.  (lib/gs_init.ps)
	- The InkParams resource category was defined even in systems that
didn't support in-RIP trapping.  (lib/gs_ll3.ps, lib/gs_res.ps,
lib/gs_trap.ps)
	- CID fonts with 0-length data caused an error.  (lib/gs_cidfn.ps)
	- Type 10 halftone dictionaries were broken -- perhaps they never
had worked.  (lib/gs_ll3.ps)

Makes FontInfo entries available through the extended font API, needed to
allow embedded Type 1 fonts to include those entries.  (zfont1.c)

Makes it possible to determine whether the current file is a resource file,
needed to allow distinguishing between built-in and input-embedded fonts.
(lib/gs_ccfnt.ps, lib/gs_fonts.ps, lib/gs_init.ps, lib/gs_res.ps,
lib/gs_type1.ps, zfont.c)

Moves support for GNU readline from the main Ghostscript fileset to the
GNU-specific fileset.  (unix-gcc.mak, int.mak, gp_gnrdl.c =>
src/gnu/gp_gnrdl.c, gnu/src/gnudevs.mak)

</pre><h3><a name="5.94_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The CCITTFaxDecode filter didn't correctly handle the case where
the last code of a 1-D row was a black code and occurred less than 7 or 8
bits before the end of the input stream.  (We thought we fixed this in 5.86,
but we missed one case.)  (scfd.c)
	- If an input buffer boundary fell at exactly the wrong place, an
image whose input was coming from a stream could fail to read the stream EOD
marker.  (This is quite an old bug.)  Fixing this involved a possibly risky
change to the definition of sbuf_min_left and the already fragile logic in
sreadbuf: the fix does solve this problem, but we aren't at all certain it
didn't introduce new ones.  (stream.h, stream.c)

</pre><h3><a name="5.94_Library"></a>Library</h3><pre>

Fixes problems:
	- The default implementation of copy_tile didn't pass the bitmap id
for complete tiles, missing potential optimizations (performance bug only).
(gdevdbit.c)
	- The patch edges of ShadingType 7 shadings were ordered
incorrectly, producing incorrect output in some cases where the surface
folds over itself.  (gxshade6.c)
	- Flushing internal buffers when rendering an image didn't clip the
flushed data, producing incorrect output.  (gxidata.c)
	- Non-zero data_x values for banded images produced incorrect band
list data.  (It's astounding that this problem hasn't shown up before.)
(gxclimag.c)
	- Banded images rotated by 90 degrees could produce "seams" or
garbage if they crossed band boundaries.  (This is at least the third time
we have "fixed" this problem.)  (gxclimag.c, gxifast.c)
	- Circles or ellipses defined by pairs of 180-degree arcs produced
incorrect output when banding.  (gxclpath.c, gxclrast.c)
	- setgray et al simply cleared the Pattern pointer in the client
color rather than adjusting its reference count.  (gscolor.c, gscolor1.c)
	- The saved graphics state for bitmap/pixmap patterns contained a
reference to the Pattern color, causing Patterns to be retained when they
shouldn't be and causing unwanted recursion when freeing them.  (gsptype1.c)
	- Patterns containing halftoned CMYK colors rendered as all black.
(bug probably introduced in 5.6x) (gxcht.c)
	- Because of a typo, CMYK halftoning with only a single plane could
put too much yellow into the output.  This appears to be quite an old bug.
(gxdither.c)
	- The error code from running out of band list memory wasn't
propagated if the condition was detected in cmd_put_drawing_color, causing
low-memory recovery not to be invoked.  (gxclpath.c)
	- (Same error code problem) in clist_change_tile.  (gxclbits.c)

Adds more font attributes to the set available through a standard API.
(gxfont.h)

Adds more statistics to the filling algorithm.  (gxfill.c)

Adds an is_resource flag to fonts, to indicate that they originated from a
resource rather than being embedded in an input file.  (gxfont.h, gsfont.c)

</pre>

<hr>

<h2><a name="Version5.93"></a>Version 5.93 (beta) (9/11/99)</h2>

<p>
This is the next candidate for the 6.0 release.  As with 5.92, all changes
other than added documentation are bug fixes.

<h3><a name="5.93_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- Every stream whose state includes any GC-traceable pointers must
now have a set_defaults procedure that clears those pointers.

</pre><h3><a name="5.93_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- There was an extra /ul tag.  (doc/Release.htm)
	- Fontmap.GS wasn't mentioned as needing to be installed.
(doc/Install.htm)
	- Some documentation for the handling of seac was incorrect.
(gxtype1.c)

Removes references to installbsd, which are no longer relevant.
(doc/Install.htm)

Updates the information on building with NeXTSTEP.  (doc/Make.htm)

</pre><h3><a name="5.93_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The install command had unpredictably different syntax from one
"standard" Unix system to another, causing `make install' to fail.  We
replaced the install command with our own script.  (instcopy, dvx-gcc.mak,
unix-gcc.mak, unixansi.mak, unixtrad.mak)

</pre><h3><a name="5.93_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- pcharstr.ps loaded type1ops.ps with run rather than runlibfile,
causing an error.  (lib/pcharstr.ps)

</pre><h3><a name="5.93_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- Attempting to embed a font whose Encoding included characters not
present in the font produced invalid output.  (gdevpsd1.c)
	- Allocating a stream state didn't (automatically) clear all its
internal pointers, possibly causing GC memory access errors.  (gdevpsds.c)
	- An #include of string_.h should have been memory_.h.  (gdevpsdf.c)

Disables compression for very small images.  (gdevpsdi.c)

</pre><h3><a name="5.93_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- Compiling gp_msio with MSVC's /MD switch caused a compile-time
error.  (gp_msio.c)

</pre><h3><a name="5.93_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- A bookkeeping object was allocated with the wrong allocator,
possibly causing access errors or garbage output.  (gdevpdfu.c)
	- Certain Patterns weren't treated as such, leading to very large
output files.  (gdevpdfi.c)
	- If one of the base 14 fonts had a non-standard FontMatrix, the
output disregarded this fact.  This could cause double obliquing.
(gdevpdfx.h, gdevpdff.c, gdevpdft.c)
	- Articles never got an object ID assigned.  (bug introduced in
5.91) (gdevpdfm.c)

</pre><h3><a name="5.93_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Changes the PDF interpreter to allow abbreviated filter names like /Fl for
all streams, not just in-line images.  This directly contradicts the
published PDF specification, but Acrobat Reader allows it.
(lib/pdf_base.ps)

</pre><h3><a name="5.93_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Compiled fonts were broken by the introduction of i_ctx_p.
(lib/font2c.ps, ccfont.h, iccfont.c)
	- Allocating a stream state didn't (automatically) clear all its
internal pointers, possibly causing GC memory access errors.  (zfproc.c)

</pre><h3><a name="5.93_Streams"></a>Streams</h3><pre>

Fixes problems:
	- Allocating a stream state didn't (automatically) clear all its
internal pointers, possibly causing GC memory access errors.  (scfx.h,
slzwx.h, spngpx.h, strimpl.h, sbwbs.c, sdctc.c, seexec.c, sfilter1.c,
siscale.c, szlibc.c)
	- The PNG predictor streams could fail to process some data at the
end of the input.  (spngp.c)

</pre><h3><a name="5.93_Library"></a>Library</h3><pre>

Fixes problems:
	- Some obsolete definitions for Turbo C could produce references to
an undefined procedure (setmem) at link time.  (memory_.h, string_.h)

</pre>

<hr>

<h2><a name="Version5.92"></a>Version 5.92 (beta) (9/2/99)</h2>

<p>
This is the next candidate for the 6.0 release.  All changes other than
added documentation are bug fixes.

<h3><a name="5.92_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The News for 5.91 didn't include a summary.  (doc/News.htm)
	- The documentation for Microsoft platforms didn't mention that you
must add the Ghostscript bin and lib directories to the PATH.  (doc/Use.htm)

Adds a file describing Aladdin's process for building, testing, and
releasing Ghostscript.  (doc/Readme.htm, doc/Release.htm)

</pre><h3><a name="5.92_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- Fontmap.GS is now required, but wasn't installed.  (unixinst.mak)
	- A couple of documentation files weren't installed.  (unixinst.mak)

</pre><h3><a name="5.92_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The ps2pdf script for MS Windows used the wrong name for the
executable.  (lib/ps2pdf.bat)

</pre><h3><a name="5.92_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- An uninitialized variable annoyed some compilers.  (gdevpsdt.c)
	- The PostScript-writing driver used the wrong allocator, causing
possible memory access errors.  (gdevps.c)
	- The PostScript-writing driver didn't clear a pointer, causing
possible GC errors.  (gdevps.c)
	- The PostScript-writing driver didn't have a correct GC descriptor,
causing pointers to be corrupted.  (gdevpsdf.h, gdevps.c, gdevpsdf.c)
	- Embedded Type 1 fonts unnecessarily filled individual Encoding
slots with /.notdef.  (gdevpsd1.c)
	- A large constant produced warnings on some compilers.  (gdevpsdt.c)

</pre><h3><a name="5.92_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- Once again, gcc didn't complain about an ANSI-illegal extra
semicolon in a declaration list.  (gdevpdfo.h)
	- Adds a cast to work around the fact that some compilers declare
the return type of memchr as char * rather than void *.  (gdevpdfr.c)
	- The bookkeeping for whether a font had been written and freed was
inverted, causing some fonts to be written many times and other fonts not to
be written at all.  (gdevpdf.c)

</pre><h3><a name="5.92_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- More places needed workarounds for the alignment aliasing gcc bug.
The bug only occurs if a pointer variable is dereferenced through a cast to
a stricter alignment and then dereferenced later in its original form, so it
doesn't affect very many places.  (igc.c, igcref.c, isave.c)

</pre><h3><a name="5.92_Streams"></a>Streams</h3><pre>

Makes the stream GC descriptor public for subclassing.  (stream.h, stream.c)

</pre>

<hr>

<h2><a name="Version5.91"></a>Version 5.91 (beta) (8/30/99)</h2>

<p>
This is the next beta for 6.0.  It includes a major rewrite of the parts of
the PDF writer that deal with resources and pdfmarks, as well as the usual
bug fixes.  There are still problems with embedded fonts, both TrueType
(which sometimes don't show up at all) and Type 1 (which sometimes confuse
Acrobat Reader 3).

<h3><a name="5.91_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- An HTML tag was misplaced in the News file.  (doc/News.htm)

Notes that the Solaris FONTPATH scanning problem may be fixed.
(doc/Use.htm)

</pre><h3><a name="5.91_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- Many of the margin and width computations in ps2epsi.ps (not
written by Aladdin) were wrong -- off by 1.  It's only because the bugs
masked each other or cancelled each other out that the code didn't produce
errors more of the time.  (lib/ps2epsi.ps)

</pre><h3><a name="5.91_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- Font subset glyphs weren't sorted early enough, causing Type 1
embedded fonts to be written with inconsistent lengths.  (gdevpsd1.c)

Changes the BMP drivers so that they set the resolution in the BMP header
rather than leaving it at 0.  This solves some problems reported by users,
but may cause others.  (gdevbmpc.c)

</pre><h3><a name="5.91_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- A change made in 5.90 was incorrect (we couldn't test it, because
MS Windows and OS/2 systems can't be used over a network).  (gp_msio.c,
gp_os2.c)

Adds some conditionalization to work around a bug in some recent versions of
gcc/egcs.  (stdpre.h, interp.c)

</pre><h3><a name="5.91_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- If the extension of a font file name on GS_FONTPATH included any
upper-case characters, the font would not be found.  (lib/gs_fonts.ps)

Allows fontmaps to contain &lt;string&gt; run or .runlibfile, to get rid of the
Fontmap -&gt; Fontmap.GS link that VMS can't handle.  (lib/gs_fonts.ps)

</pre><h3><a name="5.91_PDF_writer"></a>PDF writer</h3><pre>

Fixes problems:
	- Very long arguments for pdfmark caused an ioerror, because the
buffer used for converting them was fixed-length.  (lib/gs_pdfwr.ps)
	- pdfmarks couldn't refer to objects that hadn't been defined yet.
(gdevpdfx.h, gdevpdfo.c)
	- When a DOCVIEW pdfmark added an OpenAction key to the Catalog,
it omitted the / before the name.  (gdevpdfm.c)
	- Font resources could be written in the middle of a page contents
stream.  (bug introduced in 5.90) (gdevpdff.c, gdevpdfu.c)
	- As usual, there were some signed/unsigned char * mismatches that
gcc didn't detect.  (gdevpdff.c, gdevpdfm.c, gdevpdfo.c)
	- Fonts used on a page but freed before the end of the page were
omitted from the page's resource dictionary.  (gdevpdfx.h, gdevpdf.c,
gdevpdff.c, gdevpdft.c)
	- /D or /Dest keys in Action pdfmark dictionaries dropped the first
character of their value.  (gdevpdfm.c)
	- If a pdfmark added annotations to a page after the end of that
page had been reached, those annotations would be lost.  (gdevpdf.c)
	- ANN, LNK, DEST, and PS pdfmarks ignored the object name, if any.
(Only OBJ and BP processed the name.) Unfortunately, fixing this required a
complete overhaul of the way that resources and PDF objects were represented
internally.  The result is both simpler and more general, but it involved a
major upheaval in the PDF writer code.  (lib/gs_pdfwr.ps, gdevpdfo.h,
gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdfi.c, gdevpdfm.c, gdevpdfo.c,
gdevpdfr.c, gdevpdft.c, gdevpdfu.c)
	- EP pdfmarks didn't close any open text context.  (gdevpdfm.c)

Adds debugging code to check the consistency of the embedded Type 1 font
writer.  (gdevpdff.c)

Makes /A and /F at the top level of an annotation or outline pdfmark
equivalent to /Action and /File respectively.  See the code for more
information.  (gdevpdfm.c)

</pre><h3><a name="5.91_Library"></a>Library</h3><pre>

Fixes problems:
	- Degenerate Bezier curves could cause a division by zero.
(gxpcopy.c)
	- Some macros used in non-FPU configurations were missing some
needed uses of const, and in one case an additional cast.  (gxfarith.h,
gxfixed.h)

Changes the discard macro to upper-case.  (stdpre.h)

</pre>

<hr>

<h2><a name="Version5.90"></a>Version 5.90 (beta) (8/20/99)</h2>

<p>
This is the first real candidate for the 6.0 release.  It does not fix all
known bugs, but it includes all planned functionality.  New in this fileset:
<ul>
<li>	- FunctionType 4 for PDF files.
<li>	- Alternate printer images for PDF files (-dUsePrinterImages
	switch).
<li>	- pdfwrite support for PDF "Cos objects" (without compression for
	streams).
<li>	- pdfwrite support for graphics objects named with BP/EP/SP
	(without compression for the object definition).
<li>	- pdfwrite font subsetting and embedded TrueType fonts.
</ul>

<h3><a name="5.90_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- ref_stack_init now takes an additional argument.
	- no_time_slice_proc is removed -- use 0 instead.
(Library)
	- Notification client procedures and the gs_notify_ procedures
take different arguments.
	- The common part of a gs_function_t structure has changed.
	- gs_text_enum_init now returns a value that can indicate an error.
	- The font font_info procedure now takes an additional argument.
	- The IODevice open_device procedure is now defined as returning
0 or 1 under specific circumstances.
	- gxp1fill.h is renamed gxp1impl.h.
	- Allocators now have an additional procedure they must implement,
and a state member they must initialize.
	- Most of the gs..basic.. structure definition macros have been
renamed.  The ptrs1_stringsN structure definition macros are removed.
	- Implementations of the text API now must provide a resync
procedure rather than a restart procedure.

</pre><h3><a name="5.90_Documentation"></a>Documentation</h3><pre>

Documents the new -dUsePrinterImages switch, and the expanded meaning of
-Z~.  (doc/Use.htm)

Updates FSF's address in documentation.  (lib/Fontmap.GS, lib/Fontmap.Sol,
gdevcd8.c)

Brings the PDF writer (ps2pdf) documentation up to date.  (doc/Ps2pdf.htm)

Updates the current-release documentation.  (doc/Current.htm,
doc/Readme.htm)

Updates the problem-reporting procedure for contributed drivers, and some
other new-user information.  (doc/New-user.htm)

</pre><h3><a name="5.90_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Because of a typo, the file gs_mgl_e.ps wasn't installed (on Unix
systems) by 'make install'.  (unixinst.mak)
	- The .dev files for drivers didn't depend on devs.mak.  (devs.mak)
	- The X driver didn't include a needed dependency on the bbox
device.  (devs.mak)

Incorporates the pdfmin package into the pdf package, since pdfmin was only
provided for very small-memory environments and is no longer useful.
(int.mak)

Adds additional prototype-checking switches, which are important on 64-bit
platforms and useful on all platforms, to the gcc compilation line.
(unix-gcc.mak)

</pre><h3><a name="5.90_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- A backquote was misplaced in the Unix ps2pdf script.  (lib/ps2pdf)
	- Some example files didn't have %! headers.  (examples/alphabet.ps,
examples/waterfal.ps)
	- ansi2knr didn't handle preprocessor directives within a function
header.  (ansi2knr.c)

Cleans up some minor compiler complaints.  (genarch.c, genconf.c, echogs.c)

</pre><h3><a name="5.90_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The PostScript writer sometimes failed to reset the clip path,
causing parts of the output to be omitted or to appear incorrectly.
(gdevvec.c)
	- There was a type mismatch in a conditional.  (gdevxini.c)
	- A constant array wasn't declared as static.  (gdevpsdt.c)
	- Once again, there were some signed / unsigned char mismatches that
gcc apparently can't be forced to detect.  (gdevpsdt.c)
	- The alternative X drivers didn't have GC descriptors, which could
lead to memory corruption.  (gdevxalt.c)
	- The alternative X drivers didn't handle the closing of the
underlying X driver correctly, leading to a dangling pointer.  (gdevxalt.c)
	- Font subsetting didn't eliminate duplicate glyphs (glyphs
referenced more than once from the Encoding vector.)  (gdevpsd1.c,
gdevpsdt.c)
	- Type 1 font subsetting didn't ensure the presence of .notdef.
(gdevpsd1.c)
	- The embedded TrueType font writer wrote all 16-bit values
incorrectly.  This could explain a lot!  (gdevpsdt.c)

Cleans up public functions with no previous prototype.  (gdevtfax.h,
gdevx.h, gdevdfax.c, gdevtfax.c, gdevx.c, gdevxini.c, gdevxxf.c)

Adds some procedures to support font subsetting.  (gdevpsdf.h, gdevpsdf.c)

Adds an alternate font name for writing TrueType fonts.  (gdevpsdt.c)

Makes the TrueType font writer generate an OS/2 table, a Macintosh cmap, and
a name table (for the font name), as well as a Windows cmap and post, if
necessary.  (gdevpsdf.h, gdevpsdt.c)

</pre><h3><a name="5.90_Platforms"></a>Platforms</h3><pre>

Updates a couple of clients for the change in the IODevice open_device
procedure, eliminating some undesirable externs.  (gp_msio.c, gp_os2.c)

</pre><h3><a name="5.90_Fonts"></a>Fonts</h3><pre>

Adds OS/2 and maxp to the list of tables that must be preserved when loading
TrueType fonts.  (lib/gs_ttf.ps)

Registers the complete lists of glyphs in the Adobe Latin fonts as
pseudo-encodings.  (lib/gs_lgo_e.ps, lib/gs_lgx_e.ps, unixinst.mak)

</pre><h3><a name="5.90_PDF_writer"></a>PDF writer</h3><pre>

Fixes bugs:
	- One built-in font was sometimes substituted for another.
(gdevpdff.c)
	- Use of composite fonts often produced a rangecheck error.
(gdevpdft.c)
	- The structures for named objects were freed twice.  (gdevpdfx.h,
gdevpdf.c, gdevpdfo.c)
	- The code to avoid writing a blank between a Td command and
following text was fragile and still incorrect after being "fixed" twice.
We removed this minor optimization, at a small cost in file size when not
compressing.  (gdevpdft.c)
	- No Names tree was generated for named destinations specified as
strings.  Rather than do this, we now convert string destinations to names.
This doesn't scale up well, but it is simple and also is compatible with all
PDF versions from 1.1 on.  (gdevpdfm.c)
	- Fonts that define characters incrementally, such as the TrueType
fonts written by some versions of the AdobePS Windows driver, could omit
characters if embedded.  Fixing this required delaying writing out fonts
until the font was about to be freed or the writer was closed.  (gdevpdfx.h,
gdevpdff.c, gdevpdft.c)

Cleans up public functions with no previous prototype.  (gdevpdfx.h,
gdevpdf.c, gdevpdfm.c)

Updates client code for the change in gs_text_enum_init.  (gdevpdft.c)

Makes some changes towards handling show operations that must be split up
internally into multiple operations using different fonts.  (gdevpdfx.h,
gdevpdff.c, gdevpdft.c)

Implements the PUT pdfmark for the built-in objects (Catalog, DocInfo,
Page<#>, ThisPage, PrevPage, NextPage).  This required deferring writing out
page objects until the end of the document.  (lib/gs_pdfwr.ps, gdevpdfx.h,
gdevpdf.c, gdevpdff.c, gdevpdfm.c, gdevpdfo.c, gdevpdfu.c)

Adds table entries, but not parsing, checking, or functionality, for the new
Acrobat 4 pdfmarks related to document logical structure.  (gdevpdfm.c)

Implements stream-type Cos objects.  (lib/gs_pdfwr.ps, gdevpdfx.h,
gdevpdf.c, gdevpdfm.c, gdevpdfo.c, gdevpdfp.c, gdevpdfu.c)

Implements BP/EP/SP pdfmarks.  (gdevpdfx.h, gdevpdf.c, gdevpdfi.c,
gdevpdfm.c)

Changes enumeration and #defined names to upper case, and adds _t to type
names.  (gdevpdfx.h, gdevpdf*.c)

Adds an OS/2 table for embedded fonts if missing.  (gdevpdff.c)

Makes the allocator for the PDF device's internal structures be the stable
allocator of the device's allocator, not the C heap.  This required
correcting a number of GC descriptors.  (gdevpdfx.h, gdevpdf.c, gdevpdfu.c)

Replaces the text restart procedure with the new resync procedure.
(gdevpdft.c)

</pre><h3><a name="5.90_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Failure to find a font in the Resources dictionary signalled an
/undefinedfont error (which does not exist) rather than /invalidfont.
(lib/pdf_font.ps)

Implements FunctionType 4 functions.  (lib/pdf_draw.ps, zfunc4.c)

Implements the -dUsePrinterImages switch to use "alternate" printer images
when rendering.  (lib/pdf_draw.ps)

</pre><h3><a name="5.90_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Some pointers were declared as ref * that actually could be
ref_packed *, potentially confusing compilers that follow the new, stricter
ANSI C rules about alignment aliasing.  (idebug.h, idebug.c, igc.c,
igcref.c, zmisc.c)
	- cshow didn't restore the root font after executing the procedure,
producing incorrect results if the procedure did a setfont.  (ichar.h,
zcfont.c, zchar.c)
	- A needed const-breaking cast was omitted.  (zmisc.c)
	- The memory validator could cause an unaligned access.  (ilocate.c)
	- restore could free parts of the stacks that were still in use.  We
fixed this long-standing problem using the new concept of stable allocators.
(interp.c)

Moves the implementation of the abs operator to C, required for FunctionType
4 support.  (lib/gs_init.ps, zarith.c)

Makes more operator procedures public, required for FunctionType 4 support.
(zarith.c, zmath.c, zrelbit.c, ztype.c)

Adds an additional parameter to ref_stack_init, to allow creating a
temporary stack without having an allocator.  (istkparm.h, istack.h,
interp.c, istack.c)

Cleans up public functions with no previous prototype.  (files.h, ichar.h,
icstate.h, ifilter2.h, ifrpred.h, ifwpred.h, igcstr.h, iimage.h, iimage2.h,
iinit.h, imain.h, interp.h, iscanbin.h, ivmem2.h, oparc.h, opextern.h,
icontext.c, igc.c, iinit.c, imain.c, inobtokn.c, interp.c, iscan.c,
iscanbin.c, zchar.c, zcharout.c, zcolor.c, zcolor1.c, zcontrol.c, zdevice.c,
zdpnext.c, zdps.c, zfdecode.c, zfile.c, zfilter2.c, zfont0.c, zfunc0.c,
zfunc3.c, zfzlib.c, zgeneric.c, zht1.c, zht2.c, zimage.c, zimage2.c,
ziodev.c, zmath.c, zpath1.c, zupath.c, zusparam.c, zvmem.c, zvmem2.c)

Updates client code for the tweak in the definition of the IODevice
open_device procedure.  (ziodev.c)

Implements stable local and global VM allocators.  This required changing
more places than we would have liked.  (ialloc.c, igc.c, ilocate.c, imain.c,
interp.c, ireclaim.c, isave.c, zcontext.c)

Removes the global member of gs_ref_memory_t, since it isn't used.
(gxalloc.h, ialloc.c, zcontext.c)

Adds more tracing to the relocation phase of the garbage collector.
(igcref.c)

</pre><h3><a name="5.90_Streams"></a>Streams</h3><pre>

Fixes problems:
	 - jpeg_open_backing_store no longer had the correct arguments.
(This had no effect in practice, since the procedure was never called.)
(sjpegc.c)

Cleans up public functions with no previous prototype.  (scfdgen.c,
scfetab.c, sjpegc.c, slzwce.c, slzwd.c, stream.c)

Adds some tracing to the image scaling stream.  (siscale.c)

</pre><h3><a name="5.90_Library"></a>Library</h3><pre>

Fixes bugs:
	- A null OutputFile name could cause an error.  (gxdevice.h,
gsdevice.c, gsfname.c)
	- Shading with non-monotonic Functions produced incorrect output.
(gxshade1.c)
	- An #undef didn't match the #define it was supposed to cancel.
(gxchar.c)
	- The default next_char_glyph procedure didn't handle FROM_CHARS or
FROM_SINGLE_CHAR data sources.  (gstext.c)
	- When finalizing a forwarding device, the target pointer in the
device wasn't cleared, leading to an incorrect attempt to access it later.
(gdevnfwd.c)
	- Interpolated images were broken, probably since 5.81.
(gxiscale.c)
	- Some color space implementation procedures hadn't been updated to
add 'const' to the color space argument.  (gscie.c)
	- A constant had a signed/unsigned ambiguity on systems where
sizeof(long) > 4.  (gsccode.h)
	- The font font_info procedure didn't provide for scaling.
(gxfont.h)

Simplifies the notification mechanism to remove the concept of client and
generating object.  Registration now just takes a closure (procedure +
opaque data); events pass the closure data and event data.  (gsnotify.h,
gsfont.c, gsnotify.c)

Changes gs_notify_unregister so that it can unregister all registrations of
a particular client rather than only one.  (gsnotify.h, gsnotify.c)

Adds support for "vanilla" Functions at the library level.  (gsfunc.h,
gsfunc.c)

Adds some tracing for Functions.  (gsfunc3.c)

Redefines function monotonicity to indicate whether the function is
increasing or decreasing, and implements monotonicity correctly for all
FunctionTypes except 4.  (gsfunc.h, gxfunc.h, gsfunc0.c, gsfunc3.c)

Makes Type 0 fonts check that they are being used with a string, not a
character or (a) glyph(s).  (gxtext.h, gschar.c, gschar0.c, gstext.c,
gxchar.c)

Cleans up public functions with no previous prototype.  (gdevmem.h,
gpcheck.h, gscie.h, gserror.h, gsmemory.h, gxcie.h, gxcldev.h, gxclpath.h,
gxcmap.h, gxcspace.h, gxfixed.h, gxfont0.h, gxp1fill.h [deleted],
gxp1impl.h, math_.h, std.h, gconf.c, gdevdrop.c, gdevm1.c, gdevm2.c,
gdevm4.c, gdevm8.c, gdevm24.c, gdevmr1.c, gdevmr2n.c, gdevprn.c, gsbittab.c,
gscdef.c, gscie.c, gsciemap.c, gscspace.c, gscscie.c, gsdevmem.c,
gsdparam.c, gshtscr.c, gsimpath.c, gsiodev.c, gsmisc.c, gsnorop.c, gspath.c,
gspcolor.c, gsptype1.c, gsropc.c, gsutil.c, gxacpath.c, gxclist.c,
gxcpath.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c, gxiscale.c,
gxp1fill.c, gxpath2.c)

Gets rid of some remaining vestiges of 16-bit ints.  (gdevm1.c, gsbitops.c)

Adds procedures to register clients for notification when a font is freed.
(gxfont.h, gsfont.c)

Defines the IODevice open_device procedure as returning 1 if it opened a new
stream, 0 if it returned an existing stream.  This eliminates some awkward
externs.

Adds the concept of a stable allocator -- an allocator that allocates from
the same heap and in the same VM space as another allocator, but is not
subject to save and restore.  (gsmemory.h, gsmemraw.h, gsalloc.c,
gsmalloc.c, gsmemlok.c, gsmemret.c, gsnogc.c)

Adds some new macros to make defining new kinds of fixed-format structures
simpler.  (gsstruct.h)

Replaces the text processing restart procedure with a more general resync
procedure, which can be used to restart partway through a string.  We retain
gs_text_restart for backward compatibility and general usefulness.
(gstext.h, gxtext.h, gdevbbox.c, gstext.c, gxchar.c)

Adds the Adobe Latin glyph sets as pseudo-encodings.  (gsccode.h)

</pre>

<hr>

<h2><a name="Version5.88"></a>Version 5.88 (tester) (8/3/99)</h2>

<p>
This fileset adds the ability to reference and embed TrueType fonts in PDF
output.  Unfortunately, even though the resulting PDF files work fine with
Ghostscript itself, Acrobat Reader apparently can't handle embedded TrueType
fonts with non-standard Encodings.  We hope to fix this problem during the
6.0 beta test period.

<p>
This fileset also adds the ability to buffer X Windows output in a
client-side bitmap.  This is typically more efficient than trying to push
many small commands through the X client/server knothole, especially if
bitmap images or RasterOp are involved.

<p>
Some reported problems have been deliberately left unfixed: we will need
every minute of the 13 days before the start of the 6.0 beta test period to
implement the last few items of functionality scheduled for the 6.0 release,
and we can fix problems (but not add functionality) during the beta test
period.

<h3><a name="5.88_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- The box_device member of the bbox device is replaced by the
box_data member, with a different meaning.
	- The x_rect structure is removed; all uses are changed to
gs_int_rect.
	- gdevpstr.h is renamed spprint.h.
	- The parameter printing procedures are moved from gdevpsdf.[hc] to
spsdf.[hc].
	- Clients must now allocate gs_font* objects using gs_font_alloc or
gs_font_base_alloc, not directly with gs_alloc_struct.
	- The first (vptr) argument of enum_ptrs procedures is now const *.
EV_CONST is no longer defined.
	- The pep argument of enum_ptrs procedures is now enum_ptr_t *
rather than const void **.
	- The font glyph_pieces procedure is replaced with an option for
glyph_info.
	- The font encode_char procedure now takes an additional glyph_space
argument.
	- The o_large flag in object headers is renamed o_alone; o_lmark and
o_lsize no longer exist.  The DO_LARGE and DO_SMALL macros for enumerating
objects in a chunk are also removed.

</pre><h3><a name="5.88_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- News entries since 5.72 had a missing &lt;li&gt; in the table of
contents entry.  (doc/News.htm)
	- gs_text_params_t still referred to REPLACE_X_WIDTHS and
REPLACE_Y_WIDTHS rather than REPLACE_WIDTHS.  (gstext.h)

Clarifies that the font glyph_outline procedure must append a final moveto
for the advance width.  (gxfont.h)

Clarifies that the font enumerate_glyph procedure enumerates glyphs in an
unpredictable order.  (gxfont.h)

Documents that reference counted freeing procedures for structures with
finalization must free the structure itself first rather than last.
(gsrefct.h)

Updates documentation on building Ghostscript on MS-DOS and MS Windows.
(doc/Make.htm)

Adds some documentation on how the makefiles are / should be structured.
(doc/Source.htm)

Documents the new parameters for the X driver.  (doc/Use.htm)

Updates the language documentation to refer properly to PostScript
LanguageLevel 3 and PDF 1.3. (doc/Language.htm)

</pre><h3><a name="5.88_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- An omitted space in a makefile caused an incompatibility with the
VMS build utilities.  (lib.mak)
	- The gsindent script was omitted from the fileset.  (gsindent)
	- The core library didn't include stream.c, which is now required.
(lib.mak)
	- The workaround for the peculiarities of the Watcom compiler's
command line syntax didn't work.  (zlib.mak)
	- A DOS command line overflowed in the makefile.  We patched this by
deleting the bmpgray device from the Borland Windows platform.
(bcwin32.mak)

Provides a .lnk file required by the revised linking procedures on MS
Windows.  (gsdll32w.lnk)

Straightens out the Watcom makefiles so that it is possible to build a
Windows executable and DLL using the Watcom compiler.  This required moving
some parameters around in the other PC makefiles.  (bcwin32.mak,
msvccmd.mak, watc.mak, watcw32.mak, wccommon.mak, winint.mak, winlib.mak)

</pre><h3><a name="5.88_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The X driver reported the wrong parameter name for errors in the
value of the WindowID or .IsPageDevice parameter.  (gdevxini.c)
	- The X driver calculated the Y window dimension incorrectly when
resizing the window if X and Y resolutions were different.  (Never happens
in practice.)  (gdevxini.c)
	- The bmpasep8 device was defined as gx_device_printer rather than
gx_device_async.  (gdevbmpa.c)
	- Some casts between signed and unsigned char * were missing.
(gdevpdff.c, gdevpdft.c)
	- The PDF writer didn't handle reencoded characters properly in
non-embedded fonts.  (gdevpdfx.h)
	- The PDF writer allocated new structures while being closed,
causing memory corruption if the close procedure was called for
finalization.  (gdevpdff.c, gdevpsd1.c)
	- The PDF writer tried to close the resource file twice.  (bug
introduced since 5.50) (gdevpdf.c)
	- The PDF writer failed to work around a bug in Acrobat 3 Reader's
Print function related to re-encoded fonts.  (gdevpdft.c)
	- The PDF writer incorrectly specified ASCII85Encode rather than
ASCII85Decode for non-binary embedded fonts.  (gdevpdff.c)
	- The PDF writer didn't handle embedded fonts with a non-standard
FontMatrix correctly.  (gdevpdft.c)
	- The PDF writer didn't handle reassigned characters correctly.
(gdevpdft.c)
	- When embedding a Type 1 font, the PDF writer didn't check that the
font contains only CharStrings (no PostScript procedures), no non-standard
OtherSubrs, and no CDevProc.  (gdevpsd1.c)
	- There was an unused label in the mswinpr2 driver.  (gdevwpr2.c)
	- The X driver didn't flush buffered output before reading back
bits from the display.  (gdevx.c)
	- The X driver still didn't set up the color mapping tables
correctly -- in particular, it didn't initialize cman.color_to_rgb before
setting up the dither ramp or cube.  This is at least the third time we have
"fixed" this problem.  (gdevxcmp.c)

Removes the remaining uses of gs_malloc, gs_free, and gs_memory_default from
Aladdin's non-display drivers.  (gdevbit.c, gdevbmp.c, gdevbmpa.c,
gdevcgm.c, gdevclj.c, gdevcljc.c, gdevdjet.c, gdevlj56.c, gdevmiff.c,
gdevpbm.c, gdevpcx.c, gdevpng.c, gdevpsim.c, gdevtfax.c, gdevtfnx.c,
gdevxalt.c)

Adds a MaxBitmap parameter to the X driver: the driver will maintain a
full-window pixmap in memory if it requires no more space than MaxBitmap.
The default value of this parameter is 0, meaning never use a client-side
bitmap.  (gdevx.h, gdevx.c, gdevxini.c, gdevxxf.c)

Moves the X device closing and get/put parameters procedures from gdevx.c to
gdevxini.c.  (gdevx.c, gdevxini.c)

Removes some remaining uses of gs_malloc and gs_free from the X driver.
Note that this requires making the X device structure properly
garbage-collectable.  (gdevx.h, gsstruct.h, gdevxini.c)

Removes the remaining uses of 'register' from the X driver.  (gdevx.c,
gdevxini.c)

Removes the remaining uses of the obsolete far_data keyword from Aladdin's
non-PC drivers.  (gdevbmp.c, gdevbmpa.c, gdevcgm.c, gdevlj56.c, gdevmiff.c,
gdevp2up.c)

Improves the X driver's algorithm for deciding when to update the screen,
and makes its parameters available for reading and setting.  (gdevx.h,
gdevx.c, gdevxini.c)

In the X driver's color mapper, improves performance slightly by replacing
multiplies and divides with shifts and table lookups in the normal case of
standard color maps.  (gdevxcmp.h, gdevxcmp.c)

Moves some filter-related code from the driver level to the stream level.
(gdevpsdf.c)

Moves some utilities for printing values in ASCII form from the driver level
to the stream level.  (devs.mak, gdevpdfx.h, gdevpstr.h [deleted], gdevps.c,
gdevpsde.c, gdevpsdf.c, gdevpsdp.c, gdevpstr.c [deleted])

Upgrades the PDF writer to handle TrueType fonts as well as Type 1.
(gdevpdfx.h, gdevpsdf.h, gdevpdff.c, gdevpdft.c, gdevpsde.c => gdevpsd1.c,
gdevpsdt.c)

Starts to implement font subsetting in the PDF writer. (gdevpdfx.h,
gdevpsdf.h, gdevpdff.c, gdevpsd1.c, gdevpsdt.c)

Partially implements WMode when writing font descriptors.  (gdevpdff.c)

Changes psdf_binary_writer so that adding the ASCII85 filter in
psdf_begin_binary doesn't require allocating any memory.  (gdevpsdf.h,
gdevpsdf.c)

Makes the PDF writer guess the Ascent and StemV values for embedded fonts
when it can't determine them by examining the font.  (gdevpdff.c)

Makes the PDF writer able to handle xshow and yshow (TEXT_REPLACE_WIDTHS).
(gdevpdft.c)

Updates code to reflect the addition of glyph_space to the font encode_char
and enumerate_glyph procedures.  (gdevpsdf.h, gdevpdff.c, gdevpdft.c,
gdevpsd1.c, gdevpsdf.c, gdevpsdt.c)

Removes some unnecessary #includes.  (gdevxres.c)

Removes the sample driver-based CRD from the variant X drivers, since this
created a pointless dependency.  (The `bit' drivers still provide this
feature, for testing.)  (gdevxalt.c)

Changes the default compatibility level of PDF output from 1.2 (Acrobat 3)
to 1.3 (Acrobat 4).  (gdevpdf.c)

</pre><h3><a name="5.88_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- A comment included an extra /*.  (gp_mswin.c)
	- The definitions for min and max in a couple of files disagreed
with the ones typically provided in system header files.  (dwimg.cpp,
dwtext.cpp)

Removes some unnecessary code related to generating temporary file names.
(gp_iwatc.c)

</pre><h3><a name="5.88_Fonts"></a>Fonts</h3><pre>

Changes the loader for TrueType fonts to keep the 'instructions', which are
required if the font is going to be written out in a PDF file.
(lib/gs_ttf.ps)

Adds some more debugging output to the TrueType font loader.
(lib/gs_ttf.ps)

Registers the MacGlyphEncoding so it can be made available to the PDF
writer.  (lib/gs_mgl_e.ps, lib/gs_ttf.ps, unixinst.mak, gsccode.h, ifont.h)

</pre><h3><a name="5.88_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The serif and small-caps flags in the FontDescriptor were ignored
when doing font substitution.  (lib/gs_fonts.ps, lib/pdf_font.ps)
	- The ri operator was undefined.  We added a dummy definition.
(lib/pdf_ops.ps)
	- The redefinitions of restore could cause a recursion loop.
(lib/gs_fform.ps, lib/gs_lev2.ps)
	- There was an extra gsave executed for each page, causing the
graphics state stack to grow deeper and deeper, which caused problems when
wrapping up at the end of execution.  (lib/pdf_main.ps)

Implements the sh operator.  (lib/pdf_draw.ps)

Works around a bug in some PDF files generated by Adobe's PDF library (?),
which attempt to create a font Encoding array with more than 256 elements.
(lib/pdf_font.ps)

</pre><h3><a name="5.88_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The GNU readline completion code (which Aladdin did not write) was
completely wrong.  (gp_gnrdl.c)
	- The top-level restore sometimes tried to restore global VM an
extra time, leading to memory corruption.  (bug probably introduced in 5.85)
(isave.c)
	- The glyph_ref procedure was defined in two different places
(inconsistently).  (ichar.h, zchar.c, zchar1.c)

Restructures the name table to improve cache coherence and to make it
possible to store initial name strings in ROM.  (iname.h, inamedef.h,
inames.h, inamestr.h, igc.c, iname.c, isave.c)

Changes the scanner so it doesn't copy name strings when scanning a compiled
init string.  This reduces RAM requirements by about 20K when using compiled
initialization.  (iscan.c)

Removes redundant FontBBox correction code, since this is now handled by the
library.  (zfont42.c)

Updates the Type 1 and Type 42 font code to implement the new font
procedures.  (icharout.h, zcharout.c, zchar1.c, zchar42.c, zfont1.c,
zfont42.c)

Simplifies the code that checks whether a grestore needs to do a
setpagedevice.  (zdevice2.c)

Updates code to reflect the change of the vptr argument of enum_ptrs
procedures to const *.  (igcref.c)

Updates code to reflect the change in the pep argument of enum_ptrs
procedures to enum_ptr_t *.  (igc.h, iscan.h, istruct.h, igc.c, igcref.c,
ilocate.c, iscan.c)

Updates code to reflect the addition of glyph_space to the font encode_char
and enumerate_glyph procedures.  (bfont.h, ifont.h, zbfont.c, zfont1.c,
zfont32.c, zfont42.c)

Cleans up some code details.  (idebug.h, ifunc.h, iparray.h, istream.h,
zfunc.c)

Removes some no longer needed test code.  (zfont1.c)

Updates memory manager code to reflect the change from o_large to o_alone.
(igc.c, igcref.c, ilocate.c, isave.c)

Changes the printed font substitution message to be closer to what some
Adobe products print if SHORTERRORS is defined.  (Thanks to Andrew Chilvers
for the suggestion.)  (lib/gs_fonts.ps)

</pre><h3><a name="5.88_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The fix in 5.85 for ASCII85Encode EOLs was wrong and caused a word
of data to be dropped occasionally.  (sfilter2.c)

Moves some filter-related code from the driver level to the stream level.
(stream.h, stream.c)

Moves some utilities for printing values in ASCII form from the driver level
to the stream level.  (lib.mak, spprint.h, spsdf.h, spprint.c, spsdf.c)

Adds some more tracing output for image scaling.  (siscale.c)

</pre><h3><a name="5.88_Library"></a>Library</h3><pre>

Fixes problems:
	- The bbox device's check for whether a rectangle filled the entire
page was wrong.  (gdevbbox.c)
	- The bbox device didn't correctly handle parallelograms, triangles,
or thin lines with points specified in other than ascending order.
(gdevbbox.c)
	- The bbox device smashed the reference count of the text enumerator
it created, causing a memory leak.  (gdevbbox.c)
	- The bbox device didn't copy back all the dynamic information from
a subsidiary text enumerator, with unpredictable results.  (gxtext.h,
gdevbbox.c, gstext.c)
	- The default implementation of glyph_info for fonts incorrectly
reported that it returned values for all members, not just the ones it knew
about.  (gsfont.c)
	- The profiling implementation of memset was incorrect, leading to
memory smashing.  (gsmisc.c)
	- The default implementation of glyph_info had a memory leak.
(gsfont.c)
	- The default implementation of character rendering didn't correctly
handle the case where the character was in the cache and only the character
width was requested.  (gxchar.c)
	- Text processing didn't correctly handle REPLACE_WIDTHS if the X
and Y width arrays were different.  (The PostScript interpreter never does
this.)  (gstext.h, gstext.c, gxchar.c)
	- Compositing devices weren't initialized properly, leading to
invalid accesses.  This is the last (?) bit of the device reference counting
bug tail.  (gsalphac.c, gsropc.c)

Changes the bbox device to make the procedures for managing the bounding box
virtual, so the X device can be a subclass.  (gdevbbox.h, gdevbbox.c)

Changes the bbox device so it always adds the bounding box after doing the
drawing operation rather than before, for the benefit of the buffering X
device.  (gdevbbox.c)

Removes some remaining uses of gs_memory_default.  (gdevdrop.c)

Removes all uses of the obsolete far_data keyword from the library.
(gconf.c, gdevbbox.c)

Changes the bbox device so it doesn't run drawing algorithms twice if it has
a target that uses the default implementation.  (gdevbbox.c)

Speeds up the implementation of fill_rectangle for 16-bit memory devices.
(gdevm16.c)

Makes TrueType fonts implement the new font procedures.  (gxfont42.h,
gxmatrix.h, gsmatrix.c, gstype42.c)

Adds a gs_id to gs_font objects, so that fonts with the same name can be
distinguished reliably without relying on the address.  (gxfont.h, gsfont.c)

Makes the vptr argument of enum_ptrs procedures be const *.  This is a
long-overdue change.  (gsstype.h, gxxfont.h, gsalloc.c, gsfont.c,
gsmemory.c) ****** REDO THE CONST-BREAKING CASTS IN gsfont.c ******

Changes the pep argument of enum_ptrs from const void ** to enum_ptr_t *, to
get rid of some hacks in enum_ptrs implementations that had to construct
temporary gs_strings.  (gsstruct.h, gsstype.h, gstext.h, gsalloc.c,
gscolor2.c, gsfont.c, gsmemory.c, gstext.c)

Adds a general mechanism that provides for an arbitrary number of clients to
be notified when an event occurs.  For the moment, we only use it to notify
PDF writers when a font is about to be freed.  (gsnotify.h, gsnotify.c)

Makes fonts use the new notification mechanism to notify clients when the
font is about to be freed.  (gxfont.h, gsfont.c)

Adds a gs_text_set_cache procedure to parallel restart and retry.
(gstext.h, gxtext.h, gstext.c)

Adds a glyph_space argument to the font encode_char and enumerate_glyph
procedures, so that clients can choose between glyph names and glyph indices
in environments that use both.  (gsccode.h, gxchar.h, gxfont.h, gxfont42.h,
gsfont.c, gstype42.c, gxchar.c)

Changes the bbox device so it optionally considers white to be opaque.
(gdevbbox.h, gdevbbox.c)

Cleans up some code details.  (gshsb.h)

Adds a hack to suppress warning messages from the Watcom compiler about
testing constant values.  (stdpre.h)

Replaces the glyph_pieces font procedure with a GLYPH_INFO_PIECES option for
glyph_info.  (gxfont.h, gxfont42.h, gsfont.c, gstype42.c)

Adds a font_info font procedure, similar to glyph_info but giving
information about the font as a whole.  (gxfont.h)

In order to fix a bug in resizing large objects, gets rid of the concept of
large objects entirely, replacing it with the concept of an 'alone' object
that is guaranteed to be the only object in its chunk.  (gxalloc.h, gxobj.h,
gsalloc.c)

Adds some more tracing output for interpolated images.  (gxiscale.c)

Adds a _long parameter setting procedure to parallel _bool, _enum, and _int.
(gsparamx.h, gsparamx.c)

</pre>

<hr>

<h2><a name="Version5.87"></a>Version 5.87 (tester) (6/29/99)</h2>

<p>
In this fileset, the pdfwrite device finally handles general Type 1 fonts,
and can write them in both embedded and non-embedded form.  This fileset
also contains a few more changes to the text API, and some incompatible
changes to the gs_font procedure vector: more such changes are likely.  It
also fixes a couple of long-standing pdfmark bugs.

<p>
NOTE: there are known problems in PDF output with non-embedded fonts (fonts
represented only by a descriptor): some characters will be missing, and
because of bugs in Acrobat's Print function, even more characters will be
missing or wrong when printing from Acrobat.  We will fix our problems, and
work around Acrobat's bugs, in the next couple of filesets.

<h3><a name="5.87_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- Text enumerators now have a release procedure.
	- gx_device_text_begin no longer stores its arguments into the
enumerator: the driver text_begin procedure must do this.
	- The argument list for the font encode_char procedure no longer
includes the enumerator, and the second argument is now a gs_char rather
than a gs_char *.
	- The font next_char procedure is removed.  (It has been obsolete
for a while.)  The next_glyph procedure is renamed next_char_glyph.
	- The first argument of the font init_fstack, build_char, and
next_glyph procedures is changed from gs_show_enum * to gs_text_enum_t *.
	- gx_font_stack[_item] is renamed gx_font_stack[_item]_t.
	- New font procedures have been added, of which two (enumerate_glyph
and glyph_outline) are required.  The font procedure vector has been
reorganized.
	- The Type 1 font next_glyph procedure is replaced by the gs_font
enumerate_glyph procedure.
	- psdf_embed_type1_font is renamed psdf_write_type1_font, and has
an additional argument.
	- psdf_alloc_param_printer takes slightly different arguments;
print_binary_ok and print_ASCII85_ok are now upper-case.

</pre><h3><a name="5.87_Documentation"></a>Documentation</h3><pre>

Reorganizes the driver API documentation slightly, documents the fact that
get_alpha_bits and draw_line are obsolete, and documents the driver text
API.  (doc/Drivers.htm)

Documents an additional Irix configuration where the compiler doesn't work.
(doc/Make.htm)

</pre><h3><a name="5.87_Procedures"></a>Procedures</h3><pre>

Moves the %pipe% IODevice into lib.mak, since it is now included on Windows
as well as Unix.  (lib.mak, unix-aux.mak)

Adds the bmpgray driver to all platforms that include the other BMP drivers.
(bcwin32.mak, msvc32.mak, os2.mak, unix-gcc.mak, watc.mak, watcw32.mak)

</pre><h3><a name="5.87_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The PS and PDF writers didn't maintain the font embedding lists
correctly.  (gdevpsdp.c)
	- The CreationDate in PDF output was always set to the current date,
and couldn't be set with a pdfmark.  We now don't set CreationDate at all,
since it is supposed to be the creation date of the original document, not
of the PDF file.  (gdevpdfm.c, gdevpdfu.c)
	- The Producer in PDF output couldn't be set with a pdfmark.
(gdevpdfx.h, gdevpdf.c, gdevpdfm.c, gdevpdfu.c)
	- pdfmarks with /Action /GoTo incorrectly retained the Action key.
(gdevpdfm.c)
	- pdfmarks didn't substitute /Dest => /D or /File => /F correctly.
(gdevpdfm.c)

Updates the PDF writer to use the new text API rather than the show
pseudo-parameter.  (gdevpdfx.h, gdevpdf.c, gdevpdfp.c, gdevpdft.c)

Changes pdf_open_document so that it opens the document even if some
resources have been allocated.  (gdevpdf.c)

Splits off pdfwrite utilities from top-level control, since the file was
getting too big.  (gdevpdfx.h, gdevpdf.c, gdevpdfu.c)

When writing PDF, avoids resetting the word spacing parameter if the string
doesn't contain any spaces, and the character spacing parameter if the
string has no more than 1 character.  (gdevpdft.c)

Splits off PDF font handling from text handling, since the file was getting
too big.  (gdevpdfx.h, gdevpdff.c, gdevpdft.c)

Implement both embedded and non-embedded fonts beyond the base 14 in the PDF
writer.  This code doesn't work very reliably yet.  (gdevpdfx.h, gdevpdff.c,
gdevpdft.c)

Adds a bmpgray driver that produces 8-bit gray-scale output.  (devs.mak,
gdevbmp.c)

Updates the PDF writer for changes in the gs_font procedure vector.
(gdevpdff.c, gdevpdft.c)

Updates the Type 1 font writer for changes in the gs_font procedure vector,
and adds some output options.  (gdevpsdf.h, gdevpsde.c)

Changes the printing parameter list implementation to take all of its
parametric arguments in the params structure, and changes the names of the
options.  (gdevpsdf.h, gdevpsde.c, gdevpsdf.c, gdevpdff.c, gdevpdfi.c,
gdevpdfu.c)

</pre><h3><a name="5.87_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Indexed color spaces didn't allow the base space to be an indirect
reference.  (lib/pdf_draw.ps)
	- The CS and cs operators didn't accept a literal color space name
(as opposed to a color space resource name).  (lib/pdf_draw.ps)
	- Some PDF 1.2 files had a SM entry in graphics state dictionaries,
even though this is not documented and requires a LL3 interpreter.
(lib/pdf_draw.ps)
	- Generated font names included a % character, which could cause
problems for ps2pdf.  (lib/pdf_font.ps)

</pre><h3><a name="5.87_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The calculation of the final index when enumerating the pointers
in a context state was incorrect.  (source bug only, no effect on execution)
(icontext.c)

Updates the interpreter's glue code for the changes in the PDF writer.
(lib/gs_pdfwr.ps)

Updates a client to use gs_font_alloc.  (zbfont.c)

Updates clients for changes in the gs_font procedure vector.  (zbfont.c,
zchar1.c, zfont0.c, zfont1.c, zfont32.c)

Updates a client for the change to psdf_write_type1_font.  (zfont1.c)

</pre><h3><a name="5.87_Library"></a>Library</h3><pre>

Fixes problems:
	- Some code used rc_decrement_only instead of gx_device_retain.
(Stylistic bug only.)  (gschar.c)
	- The finalize procedure for the character cache device could get
unset and/or the retained flag cleared, leading to a reference count not
getting decremented.  (gxccman.c)
	- Allocating a show enumerator didn't clear the show_gstate member.
(Probably no effect in practice.)  (gschar.c)
	- Cleaning up at the end of text processing was not consistent and
sometimes didn't get done. The old API used explicit and separate client
allocation (gs_show_enum_alloc), release (gs_show_enum_release), and freeing
(gs_free_object); release, but not free, was automatic at the end of
processing (in show_finish).  The new API has allocation in gs_text_begin or
gx_device_text_begin, no implicit release or free, and a single
gs_text_release call to handle both release and free.  Reconciling these
required adding an auto_release flag in the gs_show_enum structure to
indicate which API was used to create it, and a release procedure.  (The
auto_release flag is only needed for backward compatibility with clients
that use the old API.  Ghostscript itself no longer has such clients, but
the PCL interpreters do.)  (gxchar.h, gxtext.h, gdevbbox.c, gschar.c,
gstext.c, gxchar.c)
	- We were burned once again by gcc's acceptance of private/public
procedure mismatches.  (gxchar.c)
	- A line break was missing between the return type and a procedure
name.  (gsstate.c)
	- Show enumerators had an incorrect GC descriptor.  (gxchar.c)
	- Text enumerators didn't terminate their list properly.  (gstext.c)

Adds a debugging procedure that finds all the pointers to an object.  This
uses the GC's pointer enumeration procedures, so it will only work if all
structures have correct GC descriptors.  (Of course, we think this is true
of all of Ghostscript.)  The current implementation doesn't trace refs.
(gsalloc.c)

Removes remaining references from gxchar.c to procedures defined in
gschar.c.  The standard Ghostscript build now no longer needs gschar.c,
although we will keep it for the moment for backward compatibility.
(gschar.c, gxchar.c)

Removes an obsolete reference to gs_show_enum.  (gstype1.h)

Adds definitions for the built-in encoding indices.  (gsccode.h, gxfont.h,
gxxfont.h)

To make text_begin implementations callable, requires them, rather than
gx_device_text_begin, to save their parameters in the enumerator structure.
(gxtext.h, gstext.c, gxchar.c)

Adds a TEXT_DO_CHARWIDTH alternative to the text operation, to just advance
the current point by the character width (stringwidth rmoveto).  (gscpm.h,
gstext.h, gxchar.c, gxpath.c)

Adds procedures to allocate and initialize fonts.  (gxfont.h, gsfont.c)

Starts to revise the gs_font procedure vector to create a real "font socket"
API, adding several new procedures.  This is a NON-BACKWARD-COMPATIBLE
change, and there probably are more to come.  (gxchar.h, gxfont.h, gsfont.c,
gstext.c, gxchar.c)

Moves the Type 0 font stack from gs_show_enum to gs_text_enum_t, and renames
its types to gx_font_stack_[item_]t.  Also moves cmap_code.  (gxchar.h,
gxtext.h, gschar0.c, gstext.c, gxchar.c)

Moves the glyph enumeration procedure from Type 1 fonts to general fonts,
changing its name to enumerate_glyph.  (gxfont1.h)

Changes the debugging code for reference counting to call procedures, to
allow better breakpointing.  (gsrefct.h, gsmemory.c)

</pre>

<hr>

<h2><a name="Version5.86"></a>Version 5.86 (tester) (6/14/99)</h2>

<p>
This fileset includes the first batch of changes for the new driver-based
text API.  Unfortunately, a few of them are non-backward-compatible.
WARNING: This API is UNSTABLE and should not be used yet.  This includes the
APIs and structures in gxtext.h, and to a lesser extent those in gstext.h.

<h3><a name="5.86_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- The default initialization of fonts now sets next_glyph rather
than next_char.
(Library)
	- The font argument of the driver text_begin procedure is no
longer declared as const.
	- Text enumerators now have a is_width_only and current_width
procedures; the restart procedure is renamed retry, and there is a new
restart procedure that does something different.
	- The scale member of gs_text_enum_t is renamed log2_scale.
	- gs_show_restore_font is removed.
	- The current_char, current_glyph, width, and log2_current_scale
members of gs_show_enum are removed (replaced by members of gs_text_enum_t).
	- The current_width member of gs_text_enum_t is removed.
	- Replaces TEXT_REPLACE_{X,Y}_WIDTHS with a single
TEXT_REPLACE_WIDTHS.

</pre><h3><a name="5.86_Documentation"></a>Documentation</h3><pre>

Fixes a number of outdated URLs.  (doc/Devices.htm, doc/Fonts.htm,
doc/Install.htm, doc/Language.htm, doc/Make.htm, doc/New-user.htm)

Documents the name change from gs_iso_e.ps to gs_il1_e.ps.
(doc/Psfiles.htm)

Documents the fact that a double % may be needed on MS systems.
(doc/Use.htm)

Documents that reversepath discards a trailing moveto, for compatibility
with Adobe implementations.  (gxpath2.c)

</pre><h3><a name="5.86_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- Some punctuation was omitted that affects builds on VMS systems.
(gs.mak)
	- 'make install' didn't install doc/History5.htm.  (unixinst.mak)
	- The Borland makefile put some generated files in the top-level
directory rather than the build directory.  (bcwin32.mak)

Updates the Unix install script for the name change of gs_iso_e.ps.
(unixinst.mak)

Moves the GNU-licensed drivers to a separate makefile.  (contrib.mak,
gnu/src/gnudevs.mak)

Adds pipe.dev to the BC++, MSVC++, and OS/2 (GCC/EMX) platforms.
(bcwin32.mak, dvx-gcc.mak, msvc32.mak, msvclib.mak)

</pre><h3><a name="5.86_Utilities"></a>Utilities</h3><pre>

Fixes problems: - The usage message for pdf2ps was incorrect.  (lib/pdf2ps,
	lib/pdf2ps.bat)

</pre><h3><a name="5.86_Drivers"></a>Drivers</h3><pre>

Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
and RELOC_PTRS procedures.  (gdevpdf.c, gdevpdfo.c)

Adds a user-contributed driver for the Oki Data OkiPage 4w+ LED printer.
This is a GPL'ed driver.  (contrib.mak, gnu/src/gdevop4w.c)

</pre><h3><a name="5.86_Platforms"></a>Platforms</h3><pre>

Adds a %handle% IODevice (mshandle.dev) to recognize file names of the form
%handle%NNNNNNNN under MS Windows.  GSview uses this feature in place of
pipes, which are an open industry standard not supported by MS Windows.
(msvc32.mak, winlib.mak, gp_mshdl.c)

</pre><h3><a name="5.86_Fonts"></a>Fonts</h3><pre>

Adds the ISO 8859-2 encoding to the stock of built-in encodings.
(lib/gs_il2_e.ps, lib/gs_iso_e.ps => lib/gs_il1_e.ps)

</pre><h3><a name="5.86_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Using a colored pattern with an uncolored Pattern color space
caused an error.  (lib/pdf_draw.ps)
	- Embedded CIDFontType 2 fonts didn't work, and embedded TrueType
fonts did an extra definefont.  (lib/gs_ttf.ps, lib/pdf_font.ps,
lib/pdf_ops.ps) ****** IN PROGRESS ******

</pre><h3><a name="5.86_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Some files hadn't been updated for the removal of the gs_imemory
static.  (int.mak, gp_gnrdl.c, imain.c, ztrap.c)
	- %statementedit could append a spurious character if the last
character of the statement was not whitespace.  (bug probably introduced in
5.8x) (ziodev.c)
	- The show operators didn't properly handle the special case of
executing within a cshow procedure for a non-CID font.  (zchar.c)
	- cshow applied to a composite font didn't scale the current font
correctly (in fact, at all).  (zcfont.c)
	- If an error occurred within the procedure called by
resourceforall, it wasn't reported.  (lib/gs_res.ps)
	- flushfile and closefile didn't correctly handle filters that only
write a fixed amount of data.  (zfileio.c)
	- cshow didn't restore the font reliably after executing the
procedure.  (ichar.h, zcfont.c, zchar.c)
	- An execstackoverflow error might temporarily leave the execution
stack in an invalid state.  (interp.c)

Cleans up some macros.  (iname.c, isave.c, iscan.c)

Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
and RELOC_PTRS procedures.  (icontext.c, iname.c, isave.c, iscan.c,
istack.c, zcontext.c, zfproc.c)

Adds a run-time warning message if gp_gnrdl.c is included in a non-GNU
build.  (gp_gnrdl.c)

Converts clients to use the gs_text procedures that replace the gs_show
procedures, and to use gs_text_enum_t rather than gs_show_enum as the
enumerator type.  (ichar.h, zbfont.c, zcfont.c, zchar.c, zchar1.c,
zchar32.c, zchar42.c, zcharout.c, zcharx.c, zfont.c, zfont0.c, zfont1.c,
zfont32.c, zimage.c, zimage2.c)

Updates the initialization code for the name change of gs_iso_e.ps.
(lib/gs_init.ps)

Splits off the definitions relating to name indices, in anticipation of
defining some name indices statically.  (inamedef.h, inameidx.h, iname.c)

</pre><h3><a name="5.86_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The pixel-difference filters didn't initialize the previous sample
to 0 at the beginning of each row.  (spdiff.c)
	- The CCITTFaxDecode filter didn't correctly handle the case where
the last code of a row occurred less than 7 or 8 bits before the end of the
input stream.  (scf.h, shc.h, scfd.c)
	- Flushing filters didn't work.  (stream.c)
	- The DCTEncode filter gave an error if asked to write to a string
with less than 100 bytes of free space left when the end of the input data
was reached.  (sdct.h, sdcte.c)

Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
and RELOC_PTRS procedures.  (stream.c)

Changes the ASCII85Encode stream to reliably insert a newline at least once
every 80 characters, rather than unreliably after at most 80 characters of
data.  (sfilter2.c)

Cleans up some formatting.  (stream.c)

</pre><h3><a name="5.86_Library"></a>Library</h3><pre>

Fixes problems:
	- A client wasn't updated for the change in the declaration of
gx_dht_proc.  (bug introduced in 5.84) (genht.c)
	- When rendering a 12-bit-per-sample color image, the device color
wasn't initialized, possibly causing a memory access error when comparing
the current color with the previous one.  (gxi12bit.c)
	- arch_floats_are_IEEE was incorrectly defined as
arch_floats_are_ieee.  (bug introduced in 5.83) (std.h)
	- Decoding of IEEE floats on non-IEEE systems was wrong.  (ibnum.c)
	- The fast case of masked images in Pattern color spaces didn't
work.  (bug introduced since 5.50) (gxifast.c)
	- cshow gave an error if there was no current point.  (gxchar.c)

Replaces TEXT_REPLACE_{X,Y}_WIDTHS with a single TEXT_REPLACE_WIDTHS.
(gstext.h, gstext.c)

Cleans up some macros.  (gdevddrw.c, gsfont.c, gsht1.c)

Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
and RELOC_PTRS procedures.  (gdevddrw.c, gdevplnx.c, gsalloc.c, gschar.c,
gscolor.c, gscolor2.c, gscrd.c, gscsepr.c, gscspace.c, gsdevice.c, gsdsrc.c,
gsfcmap.c, gsfont.c, gsfont0.c, gsht1.c, gshtscr.c, gsimage.c, gspcolor.c,
gsptype1.c, gsstate.c, gstext.c, gxcmap.c, gxht.c, gxipixel.c, gxmclip.c,
gxtype1.c)

Adds gs_c_param_list_write_more, to switch a C parameter list back to write
mode without clearing it.  (gsparam.h, gscparam.c)

Adds gs_grestore_only, to do a grestore without requiring 2 entries on the
graphics state stack.  (gsstate.h, gsstate.c)

Completes a first bridge between the new driver text_begin procedure and the
existing text API defined in gschar.h.  The changes are backward-compatible
for both clients of the APIs and (the few) implementors of text_begin,
except that the font argument of text_begin is no longer const.  Note that
gschar.h is no longer used by any client, and in fact is deprecated.
(gschar.h, gstext.h, gxfcache.h, gxtext.h, gzstate.h, gdevbbox.c,
gdevnfwd.c, gschar.c, gsfont.c, gsfont0.c, gstext.c)

Mostly splits off the existing text procedures from the default
implementation of the new text facilities.  (lib.mak, gxchar.h, gschar.c,
gxchar.c)

Makes the structure descriptor for gs_state public, for testing in gxchar.c.
(gzstate.h, gsstate.c)

Adds is_width_only and current_width procedures to the text enumerator;
renames restart as retry, and adds a restart procedure for restarting with
different parameters.  (gstext.h, gxtext.h, gdevbbox.c, gschar.c, gstext.c,
gxchar.c)

Makes the masks for the subgroups of text operation parameters public.
(gstext.h)

Removes members of gs_show_enum that are superseded by members of
gs_text_enum_t: current_char, current_glyph, width, and log2_current_scale.
(gxchar.h, gxchar.c)

Adds aliases for popen and pclose under WIN32.  (pipe_.h)

Moves gs_incachedevice from gschar.h to gsstate.h.  (gschar.h, gsstate.h)

</pre>

<hr>

<h2><a name="Version5.85"></a>Version 5.85 (tester) (5/29/99)</h2>

<p>
This fileset removes a few more writable statics, and adds uniform support
for %filedevice%filename syntax in OutputFile.  Unfortunately, removing the
static that held the interpreter's allocator group was almost as much of an
upheaval as removing the statics for the interpreter stacks.

<h3><a name="5.85_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- context_state_alloc now takes an additional parameter, as do
obj_cvp, make_packed_array, parse_real_file_name, ref_stack_store,
sread/write_proc, terminate_file_name, and a number of other internal
interpreter procedures.
	- scan_number now does not mark the result as new.
	- The _param_list_read/write procedures now take an additional
gs_ref_memory_t * parameter.
	- It is no longer possible to store pointers to the interpreter's
allocator group (gs_dual_memory_t) in structures or variables across a
garbage collection.
	- The save_level instance variable is moved from gs_dual_memory_t
to gs_ref_memory_t.
	- op_show_finish_setup can now fail.
	- fname.h is renamed gsfname.h; the procedure names and parameters
for %device%name file names are changed.
	- gx_imager_stroke_add now takes an additional argument; a NULL
value for the device argument of gx_stroke_path_only is no longer valid.
	- gx_make_clip_translate_device now takes a memory parameter, and no
container parameter; gx_make_clip_device no longer takes a container
parameter; gx_mask_clip_initialize and tile_clip_initialize now take a
memory parameter.

</pre><h3><a name="5.85_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The language documentation still referred to outside clipping.
(doc/Language.htm)

Documents the new curve join graphics state parameter.  (doc/Language.htm)

Documents the fact that the OutputFile device parameter now supports the
%device%file syntax.  (gp.h, doc/Use.htm)

Documents the licensing problems related to GNU readline.  (int.mak,
unix-gcc.mak, gp_gnrdl.c)

</pre><h3><a name="5.85_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The bmpa devices needed gdevppla.  (bug introduced in 5.84)
(devs.mak)
	- The bmpa devices were accidentally included in the DEVICE_DEVS
setting in the distributed fileset.  (unix-gcc.mak)
	- msvclib.mak was missing some definitions.  (msvclib.mak)

Adds a CC_NO_WARN macro for those few files that produce tons of warnings
that we can't work around.  (bcwin32.mak, dvx-gcc.mak, msvccmd.mak,
openvms.mak, openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak,
unixtrad.mak, watcw32.mak, wccommon.mak, devs.mak, lib.mak, zlib.mak)

Adds version.mak to msvclib.mak, so library clients can track the version.
(msvclib.mak)

</pre><h3><a name="5.85_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- -replace didn't work if it was the last item of a module
description.  (genconf.c)

</pre><h3><a name="5.85_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- CCITTFax-compressed bitmaps sometimes used both a Rows value and
an end-of-block indicator, which some PostScript implementations don't
handle properly.  (gdevpsdf.h, gdevps.c, gdevpsdf.c)

Removes an unused procedure and macro.  (gdevlj56.c)

</pre><h3><a name="5.85_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The interpreter cached objects even if the reference had the wrong
generation number, causing errors if a correct reference occurred later.
(lib/pdf_base.ps)
	- Embedded TrueType fonts using the Macintosh encoding sometimes
caused an error.  (lib/gs_ttf.ps)

</pre><h3><a name="5.85_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Multiple contexts were broken (probably since 5.80).  Fixing this
required adding a parameter to context_state_alloc, to provide systemdict.
(icontext.h, icontext.c, interp.c)
	- setpagedevice didn't accept the 4-element PageSize values that
appear in the InputAttributes dictionary.  (zmedia2.c)
	- BuildChar/BuildGlyph was "short circuited" even in some cases
where it wasn't safe to do so.  (ichar.h, zchar.c, zcharout.c)
	- The show operators didn't properly handle the special case of
executing within a cshow procedure.  (ichar.h, zcfont.c, zchar.c, zcharx.c)
	- The -dDOINTERPOLATE switch had gotten broken somehow.
(lib/gs_init.ps)
	- The is_identity flag wasn't properly cleared when loading cached
CIE mapping values, causing incorrect output.  (zcie.c)

Removes the writable static for the context scheduler.  (zcontext.c)

Removes the writable static for the interpreter's group of allocators
(gs_imemory).  This too turned out to be a massive change with many
NON-BACKWARD-COMPATIBLE changes required in internal procedures.  (bfont.h,
files.h, fname.h, ialloc.h, ifunc.h, imemory.h, interp.h, iparam.h,
iparray.h, ipcolor.h, isave.h, iscannum.h, istack.h, istream.h, iutil.h,
store.h, ialloc.c, icontext.c, idebug.c, idict.c, iinit.c, imain.c,
imainarg.c, interp.c, iparam.c, ireclaim.c, isave.c, iscan.c, iscanbin.c,
iscannum.c, isstate.h, istack.c, iutil.c, zarray.c, zbfont.c, zcontext.c,
zdict.c, zfname.c, zdps.c, zdps1.c, zfcmap.c, zdict.c, zfile.c, zfilter.c,
zfont.c, zfont0.c, zfproc.c, zfreuse.c, zfunc.c, zfunc0.c, zfunc3.c,
zgeneric.c, zht2.c, ziodev.c, ziodev2.c, zpacked.c, zpcolor.c, zshade.c,
zupath.c, zvmem.c)

Adds a gs_memory_t * argument to obj_cvp.  This is part of the work for
removing the gs_imemory static: we note it separately because it affects
code beyond the interpreter.  (iutil.h, gp_gnrdl.c, iutil.c, zfileio.c)

Updates interpreter code for the addition of new_mask, test_mask, and
save_level to gs_ref_memory_t, and the removal of save_level from
gs_dual_memory_t.  (ialloc.h, ialloc.c, isave.c)

Adds a gs_ref_memory_t * argument to all the _param_list_read/write
procedures.  (iparam.h, iparam.c, zcrd.c, zdevice.c, zfdctd.c, zfdcte.c,
zfdecode.c, zfilter2.c, ziodev2.c, zusparam.c)

Changes the hack in file_alloc_stream that determines whether a gs_memory_t
* is actually a gs_ref_memory_t *.  The former code tested specifically
whether the allocator was one of the current interpreter allocators; the new
code simply tests the procedure vector.  We aren't 100% sure that this
change will work reliably.  (zfile.c)

Factors common code out of isave.h and store.h.  (idosave.h, isave.h,
store.h)

Removes the reclaim_data member of gs_dual_memory_t, since it is no longer
useful.  (imemory.h, ialloc.c, ireclaim.c)

Makes the default InputAttributes and OutputAttributes elements of page
device dictionaries writable and (if possible) allocated in local VM, to
work around bugs in the output of Word Perfect.  (lib/gs_setpd.ps)

Modifies the interpreter's error printout to indicate whether dictionaries
on the stack(s) are writable.  (lib/gs_init.ps)

Moves support for %device%name file naming into the library.  (fname.h,
zfile.c, zfname.c [deleted])

Adds interpreter support for the new curve join graphics state parameter.
(zgstate.c)

</pre><h3><a name="5.85_Library"></a>Library</h3><pre>

Fixes problems:
	- bbox_fill_path device didn't interact with compositors correctly.
(This problem had no practical effect.)  (gdevbbox.c)
	- kshow didn't check for CID fonts.  (gschar.c)
	- The bbox and ImageType 3 image enumerators had incorrect GC
descriptors, possibly causing memory-related crashes.  (gsstruct.h,
gdevbbox.c, gximage3.c)
	- gx_make_clip_[translate_]device took an obsolete container
parameter.  (gxcpath.h, gsshade.c, gxccache.c, gxfill.c, gxstroke.c)
	- Non-transient clipping devices were used for image clipping, but
the API didn't support creating them.  (gxcpath.h, gxclip.c, gximage3.c,
gxipixel.c)
	- Some devices were created without setting their memory member,
which caused the GC not to trace pointers to them.  (gxmclip.h, gxclip2.h,
gxclip2.c, gximage3.c, gxmclip.c, gxp1fill.c)
	- The bbox device didn't handle ImageType 3 images correctly.
(gdevbbox.c)
	- When the bbox device passed a stroke operation to the library, it
didn't pass the device, causing absolute-length dots to render incorrectly.
Fixing this required adding a device parameter to the gx_imager_stroke_add
procedure.  (gxpaint.h, gdevbbox.c, gxpaint.c)
	- The counter control OtherSubrs (12 and 13) weren't implemented.
(This probably had no effect.)  (gstype1.c)
	- Type 1 stem hints with negative widths didn't work properly.
(gxhint2.c)
	- The debugging output for hintmask and cntrmask printed the vstem
and hstem counts in the wrong order.  (gstype2.c)
	- If the value of the OutputFile device parameter was too long,
the result could be memory corruption rather than a rangecheck error.
(gsdevice.c)
	- The dash pattern pointer in the saved imager state of a band list
writer could point inside the writer structure, confusing the garbage
collector.  (gxclist.h, gxclpath.c)

Adds new_mask, test_mask, and save_level instance variables to
gs_ref_memory_t.  This too is part of the gs_imemory work: we note it
separately because it is the only piece of this work that affects the
library.  (gxalloc.h, gsalloc.c)

Makes cntrmask at the beginning of a charstring act like vstemhm + cntrmask,
as with hintmask.  This is not documented, but we see it used this way in
Type 2 CharStrings.  (gstype2.c)

Cleans up formatting and macros.  (gp.h)

Speeds up the bounding box device by skipping path filling if the entire
path falls within the already-accumulated bounding box, and by defining the
device as 8-bit gray to avoid halftone computation.  (gdevbbox.c)

Adds a procedure, gs_show_use_glyph, for implementing the show-in-cshow
hack.  (gschar.h, gschar.c)

Moves support for %device%file file naming into the library.  (lib.mak,
gsfname.h, gxiodev.h, gdevpipe.c, gsfname.c)

Makes the OutputFile device parameter recognize %device%file syntax, as well
as "-" and (on platforms that support pipes) |command.  (gp.h, gxdevice.h,
gdevprn.c, gsdevice.c, gp_unix.c)

Adds a separate graphics state parameter to indicate how to treat joins
between segments of a flattened curve, for compatibility with Adobe
interpreters (which apparently always use bevel joins).  (gsline.h,
gxclpath.h, gxline.h, gsline.c, gsstate.c, gxclpath.c, gxclrast.c,
gxstroke.c)

Changes code slightly, introducing an unnecessary assignment, in order to
suppress a compiler warning.  (gxclpath.c)

Tweaks the CIE_LOAD_CACHE_BODY macro slightly.  (gscie.c)

</pre>

<hr>

<h2><a name="Version5.84"></a>Version 5.84 (tester) (5/19/99)</h2>

<p>
This fileset completes the implementation of planar rendering, and fixes a
few more bugs, some of them surprisingly old.

<h3><a name="5.84_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Drivers)
	- The dopath vector device implementation procedure was changed to
take an optional matrix argument.
(Library)
	- The internal memory__need_ macros are changed to upper case.

</pre><h3><a name="5.84_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- There was a duplicate entry for GENINIT_XE in the Watcom makefile.
(wctail.mak)

Adds the duplex-capable LaserJet drivers (ljet3d and ljet4d) to all standard
configurations.  (bcwin32.mak, dvx-gcc.mak, msvc32.mak, openvms.mak,
openvms.mmk, os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak,
watcw32.mak)

Adds a PROFILE compilation switch, similar to DEBUG, to work around the fact
that gprof under Linux doesn't count time in memset, memcpy, or other C
library procedures.  PROFILE will substitute our own versions of memset,
memcpy, and memmove.  Currently, this switch is supported only on Unix.
(unix-end.mak)

Defines a new makefile macro, SYNC, that gives the module name for thread /
synchronization facilities; makes async.dev include this module.  This is
posync on Unix and VMS platforms, winsync on MS Windows and OS/2 platforms.
(bcwin32.mak, dvx-gcc.mak, lib.mak, msvc32.mak, msvclib.mak, openvms.mak,
openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak,
watc.mak, watclib.mak, watcw32.mak)

Splits off the rules common to the 3 Windows makefiles (watc, watclib,
winlib) into a separate file, defining new modules winplat.dev and
winsync.dev.  (watc.mak, watclib.mak, winlib.mak, winplat.mak)

Removes -Wcast-align from the gcc switches, since this produces huge numbers
of warnings that we will certainly never get rid of.  (unix-gcc.mak)

</pre><h3><a name="5.84_Utilities"></a>Utilities</h3><pre>

Enhances the ps2pdf script with a patch contributed by Jim Avera
(avera@fjst.com) so that it can be used as a pipe by specifying "-" for the
input and/or output file.  (lib/ps2pdf)

Modifies ps2ascii to handle landscape pages better.  (lib/ps2ascii.ps)

</pre><h3><a name="5.84_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- PDF output that used Pattern colors on more than one page failed
to include the color space resource in the resource dictionaries of pages
other than the first.  (gdevpdf.c)
	- The PDF writer emitted bitmap patterns inverted in Y.
(gdevpdfi.c)
	- The PCL XL driver's GC descriptor had become incorrect, causing
crashes.  (gdevpx.c)
	- The pdfwrite driver could still emit coordinates too large for
Acrobat Reader to handle, for stroked lines with an unusual CTM.
(gdevpdfd.c)
	- The pxl drivers emitted invalid output for dashed lines.
(gdevpx.c)
	- The [e]pswrite and pxl drivers scaled line widths and dash
patterns incorrectly.  Fixing this properly involved refactoring the
handling of scaling for paths, and removing gdev_vector_stroke_path.
(gdevpsdf.h, gdevvec.h, gdevpdfd.c, gdevps.c, gdevpsdf.c, gdevpx.c,
gdevvec.c)
	- The lj5 drivers didn't pad images to a multiple of 4 bytes per
scan line, producing invalid PCL XL output.  (We don't see how they could
ever have worked, in fact.)  (gdevpcl.h, gdevlj56.c, gdevpcl.c)

Adds a user-contributed driver for the DEClaser 2100.  This is a GPL'ed
driver.  (contrib.mak, gnu/src/gdevln03.c)

Makes the UsePlanarBuffer parameter, and planar buffering capability, from
the PPM devices available to general printer devices, but in a separate
module to avoid making all printer devices require gdevmpla.c.  (gdevppla.h,
gdevpbm.c, gdevppla.c)

Adds a UsePlanarBuffer parameter to the async BMP drivers, for testing.
(gdevbmpa.c)

Removes the comment about the instability of the "vector" driver interface.
(gdevvec.h, gdevvec.c)

</pre><h3><a name="5.84_Platforms"></a>Platforms</h3><pre>

Splits off the Windows thread and synchronization primitives into a new file
and a new module, winsync.dev.  (watc.mak, watclib.mak, winlib.mak,
gp_win32.c, gp_wsync.c)

</pre><h3><a name="5.84_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- As usual, gcc failed to flag some signed/unsigned char mismatches.
(gp_gnrdl.c, iutil.c)

Moves the indexed color space cache lookup procedure from the interpreter to
the library.  (zcsindex.c)

</pre><h3><a name="5.84_Streams"></a>Streams</h3><pre>

Fixes problems:
	- If a 2-D CCITTFax stream ended with 1 or 2 "vertical 0" codes,
those codes would be ignored.  (scfd.c)

</pre><h3><a name="5.84_Library"></a>Library</h3><pre>

Fixes problems:
	- gsnogc.h contained an extern for gs_gc_reclaim rather than for
gs_nogc_reclaim.  (gsnogc.h)
	- Banded images in Indexed color spaces rendered incorrectly.
(gximage.c)
	- A function declared some arguments as float rather than floatp.
(gshtx.h, gshtx.c)
	- As usual, gcc failed to flag some public/private mismatches.
(gdevmrun.c)
	- The tracing output for monobit images printed 8 bits per pixel
rather than 1 bit per pixel.  (gxidata.c)
	- A Pn macro was used in a header file that didn't include stdpre.h.
(gscdefs.h, gconf.c, genht.c, gxhtbit.c, gxclrast.c)
	- get_bits_rectangle for the planar memory device didn't flush the
last byte of each row.  (gdevmpla.c)
	- When banding, Indexed color spaces using a procedure rather than a
lookup table caused a crash.  (gxcolor2.h, gscolor2.c, gxclrast.c)
	- When filling a region with a Pattern with a rotated matrix, some
parts of the region could be missed.  (bug introduced by a fix in 5.38)
(gxp1fill.c)

When compiling with gcc, replaces inline with __inline__ to get rid of a
potential warning.  (stdpre.h)

Adds our own implementations of memset, memcpy, and memmove, to work around
the fact that gprof under Linux doesn't count time in C library procedures.
(memory_.h, string_.h, gsmisc.c)

Finishes implementing planar rendering for printer / banded devices.
(gdevprn.h, gxclist.h, gxdevbuf.h, gdevprn.c, gxclread.c)

</pre>

<hr>

<h2><a name="Version5.83"></a>Version 5.83 (tester) (5/13/99)</h2>

<p>
This fileset was driven mostly by commercial licensee demands; it doesn't
fix most of the problems reported in 5.82.  It features smaller threshold
halftones, the ability to store halftones in ROM, and a nearly complete
implementation of a planar memory device.

<p>
Items pushed off to the next fileset:
<ul>
<li>	- Finish multi-planar band buffers (requires changing
gdev_prn_render_lines to be based on memory devices rather than buffer
pointers).
<li>	- For Adobe compatibility, change stroking so that it always
uses
bevel joins between the segments of a curve (this directly contradicts the
Red Book, but it's what Adobe interpreters do).
<li>	- Implement an IdiomSet for Corel Draw fountain fills?
(idioms.ps)
<li>	- Change shading so it doesn't install a clip device (make this
a
driver procedure instead), because that prevents clist_fill_path from being
called.
</ul>

<h3><a name="5.83_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- The spaces.indexed member of a vm_spaces structure has been
renamed spaces_indexed (a macro).
	- The gs_reclaim procedure is changed to a macro, GS_RECLAIM.
(Library)
	- The bits member of a halftone order is now called bit_data, and is
opaque; halftone orders are now "objects"; gx_ht_alloc_[ht_]order now take
an additional argument.
	- The architectural values in arch.h are now all upper-case.
(std.h defines lower-case synonyms for backward compatibility.)
	- The buffer device procedures for printer devices are now collected
in a structure; this also changes the parameters of clist_init_params.
	- The parameters of the buffered device setup_buf_device procedure
are changed.
	- gx_path_copy_reducing now takes an additional argument, an imager
state, for flattening stroked paths.
	- Memory devices now must be created by copying a prototype device,
rather than by initializing individual members, even if they are only being
used for limited purposes.

</pre><h3><a name="5.83_Documentation"></a>Documentation</h3><pre>

Documents the new facility for compiled halftones, and the old one for
compiling initialization files.  (doc/Make.htm)

</pre><h3><a name="5.83_Utilities"></a>Utilities</h3><pre>

Adds a utility for compiling halftones into the executable.  Also defines
the dependency lists for the auxiliary programs in lib.mak and int.mak,
rather than replicating them for every platform.  (bcwin32.mak,
dvx-tail.mak, gs.mak, int.mak, lib.mak, msvctail.mak, openvms.mak,
openvms.mmk, os2.mak, unix-aux.mak, wctail.mak, genht.c)

Adds support for halftone "resources" in the makefile.  (genconf.c)

Adds code to determine the primary and secondary CPU cache sizes
empirically.  (genarch.c)

Changes the architecture definition macros from lower to upper case, with
lower-case synonyms in std.h for backward compatibility.  (gsjconf.h, std.h,
genarch.c)

Changes the ps2ai utility so that jtxt3 can be set from the command line, to
allow pstoedit to generate AI3-compatible output.  (lib/ps2ai.ps)

</pre><h3><a name="5.83_Procedures"></a>Procedures</h3><pre>

Adds some optional library modules to the base library compilation list, so
that compilation errors won't slip through.  (lib.mak)

</pre><h3><a name="5.83_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- A change from char to byte needed to be undone (gcc didn't catch
this).  (iutil.c)

Adds a 167x167 stochastic halftone that CalComp put in the public domain.
(lib/ht_ccbnm.ps, int.mak, unixinst.mak)

Updates the interpreter for the change to per-VM-spaces garbage collection.
(igc.h, ialloc.c, icontext.c, igc.c, ilocate.c, imain.c, interp.c,
ireclaim.c, isave.c, zfile.c, zht.c, zht1.c, zht2.c)

Updates places that only use gsstruct.h for extern_st to use gsstype.h
instead.  (icontext.h, ifont.h)

</pre><h3><a name="5.83_Library"></a>Library</h3><pre>

Fixes problems:
	- Some types needed updating to reflect the change in the string
freelists.  (gsalloc.c, gsnogc.c)
	- clip_copy_color didn't initialize some variables in the fastest
case. (bug probably introduced in 5.83) (gxclip.c)
	- The fit_fill_ and fit_copy_ macros didn't always parenthesize
their dev argument.  (gxdevice.h)
	- The sample_load macros returned the wrong results for depth 1 and
2.  Amazingly enough, it appears that this case had never been used.
(gsbitops.h)
	- The standard allocator would free chunks even if is_controlled was
true.  (gsalloc.c)
	- Stroking drew semicircles rather than full circles for round
joins.  (gxstroke.c)
	- The calculation of how finely to sample a curve to achieve a
particular flatness didn't take line width into account when stroking (the
flatness has to apply to the outside of the stroked curve).  (gxpath.h,
gxpcopy.c, gxstroke.c)

Speeds up the bbox device a little.  (gdevbbox.c)

Speeds up the most common cases of clipping a little.  (gxclip.h,
gxacpath.c, gxclip.c)

Makes halftone orders more "object-oriented", so we can use an alternate
representation that trades time for space.  This requires a
NON-BACKWARD-COMPATIBLE CHANGE in the gx_ht_order structure and the
arguments of gx_ht_alloc_[ht_]order.  (gxcldev.h, gxdht.h, gzht.h, gsht.c,
gsht1.c, gshtscr.c, gshtx.c, gsistate.c, gxcht.c, gxclimag.c, gxclrast.c,
gxht.c, gxhtbit.c)

Makes it possible to compile-in halftone threshold arrays and orders (e.g.,
in ROM) so they don't take up RAM at execution time.  (gscdefs.h, gxdht.h,
gxdhtres.h, gzht.h, gconf.c, gsht.c, gsht1.c, gxclrast.c, gxhtbit.c)

Adds some statistics to the 24-bit memory device (in DEBUG mode only, as
usual).  (gdevm24.c)

Makes the 24-bit memory device optionally use memcpy for wide rectangle
fills.  We thought this got us a factor of 3 speedup on a Pentium with gcc's
library, but it turned out to be a profiler artifact.  (gdevm24.c)

Cleans up some formatting.  (gxclip.h)

Dusts off the run-length-encoded memory device, changing it so it reverts to
the unencoded representation when necessary.  This code hasn't been tested,
and is not currently used.  (gdevmrun.h, gdevrun.c [deleted], gdevmrun.c)

Adds more statistics to the clipping device.  (gxclip.c)

Adds an implementation of the MD5 Algorithm defined in RFC 1321, derived
directly from the text of the RFC and not from the reference implementation.
This code uses the zlib license, which is more liberal than the Aladdin or
GNU licenses.  (md5.h, md5.c)

Finishes implementing the planar memory device, including generalizing it to
store varying numbers of bits per plane rather than 1 bit per plane.
(gdevmem.h, gdevmpla.h, gxdevmem.h, gdevmem.c, gdevmpla.c)

Updates clients to initialize memory devices more fully, now required to
distinguish chunky from planar devices.  (gxpcmap.c)

Mostly implements enhancing printer / banded devices so they can use a
planar memory device for rendering and/or band buffering.  The code
currently works only in the non-banded case.  (gdevprn.h, gxclist.h,
gxdevbuf.h, gxdevcli.h, gdevprn.c, gxclist.c, gxclread.c)

For testing, adds a -dUsePlanarBuffer=&lt;boolean&gt; parameter to the PPM devices
to make them use a planar memory device.  (gdevpbm.c)

Cleans up some code formatting.  (gdevmem.c)

Makes the garbage collection procedure separately settable for each group of
VM spaces.  (In an environment with "async" rendering, the renderer has its
owm VM space group.)  Unfortunately, this involved a NON-BACKWARD-COMPATIBLE
change in the vm_spaces structure.  (gsgc.h, gsnogc.h, gsnogc.c)

Updates a client for the change in gs_reclaim; also makes the renderer
thread use the non-tracing garbage collector.  (gdevprna.c)

Updates the non-tracing GC to reflect its role as a garbage collection
procedure in a vm_spaces.  (gsnogc.c)

Enhances the non-tracing GC so that if a chunk ever contains no strings, the
string marking area reserved for the tracing GC is added to free space.
(gxalloc.h, gsalloc.c, gsnogc.c)

Changes the font cache allocator to use a different structure descriptor for
its data so that memory dumps will show "font cache bytes" rather than just
"bytes".  (gxccman.c)

Splits gsstruct.h into gsstype.h, which contains enough of the definition of
structure type descriptors to support extern_st, and gsstruct.h, which is
needed to actually define structure types.  (gsstruct.h, gsstype.h,
gxfmap.h)

Updates places that only use gsstruct.h for extern_st to use gsstype.h
instead.  (gsbitmap.h, gsccolor.h, gscie.h, gxfont.h, gzpath.h, scommon.h,
gscdevn.c, gscrd.c, gscrdp.c, gsshade.c, gxpath2.c)

</pre>

<hr>

<h2><a name="Version5.82"></a>Version 5.82 (tester) (4/24/99)</h2>

<p>
This fileset fixes a few odds and ends, removes a couple more writable
statics, and improves performance in a couple of areas.

<h3><a name="5.82_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- dict_uid_param now takes an additional argument, the interpreter
context pointer.
	- obj_cvp now takes a stream rather than a string.

</pre><h3><a name="5.82_Documentation"></a>Documentation</h3><pre>

Documents the -dGraphicsAlphaBits and -dTextAlphaBits switches; reorganizes
the documentation of the -d/-s switches by function.  (doc/Use.htm)

</pre><h3><a name="5.82_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- Building with MSVC didn't work if COMPILE_INITS was selected.
(msvctail.mak)
	- The cp script didn't work on all MS-DOS systems, since the systems
are incompatible with each other in undocumented ways.  (cp.bat)
	- Using ^ in a command line failed on Windows 98.  (wccommon.mak)
	- Watcom compilation under Windows NT didn't include some needed
headers.  (wccommon.mak)
	- The Watcom compiler's quoting requirements were inconsistent.
(gs.mak)
	- GLCCWIN was used without being defined.  The MS DOS/Windows
makefiles really are a tangled mess....  (watc.mak)
	- The build directories didn't get created automatically when
compiling with the Watcom compiler.  (watc.mak)

Adds more optimization switches for Watcom compilation.  (wccommon.mak)

</pre><h3><a name="5.82_Utilities"></a>Utilities</h3><pre>

Adds a pfbtopfa script.  (unixinst.mak, lib/pfbtopfa, lib/pfbtopfa.bat,
lib/pfbtopfa.ps)

</pre><h3><a name="5.82_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- "Vector" drivers (currently only the PCL XL driver) filled
polygons incorrectly.  (gdevvec.c)
	- The PCL XL drivers produced incorrect output for images.  (We
can't understand how they ever could have worked.)  (gdevpx.c)
	- The PCL XL drivers skipped blank pages.  (gdevpx.c)
	- The page origin for the clj driver was set incorrectly.  (fix from
Artifex) (gdevclj.c)
	- The map_color_rgb procedure for the 32-bit CMYK bmp device was
wrong, causing RasterOps to produce incorrect output.  (fix from Artifex)
(gdevbmp.c)

Works around a bug in Acrobat Reader's Print command, by changing the
scaling for bitmap patterns.  (gdevpdfi.c)

Cleans up some formatting and macros.  (gdevpx.c)

Factors out some common parameter-putting utilities.  (gdevpsdf.h,
gdevpdfp.c, gdevpsdp.c)

</pre><h3><a name="5.82_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The DLL code "knew" it could only be compiled on Windows and OS/2
platforms.  (gsdll.c)

Removes a Mac-specific file that is now moved to the Mac-specific archive.
(gsdllmac.h [deleted])

</pre><h3><a name="5.82_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- An invalidaccess could occur when repositioning the file after
executing an image XObject.  (lib/pdf_draw.ps)
	- Indexed color spaces gave an error if the underlying space was
represented as a name rather than an array.  (bug introduced in 5.80)
(lib/pdf_draw.ps)

</pre><h3><a name="5.82_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The interpreter reentrancy changes broke the GNU readline
interface.  (gp_gnrdl.c, ziodev.c)
	- The TrappingType resource category wasn't defined.
(lib/gs_res.ps, lib/gs_trap.ps)
	- CIE color spaces in shading patterns didn't work.  (lib/gs_ll3.ps)
	- Printing a string of more than 200 characters with == was broken.
Fixing this required a NON-BACKWARD-COMPATIBLE change in the argument list
of obj_cvp.  (bug introduced in 5.80) (iutil.h, gp_gnrdl.c, idebug.c,
iutil.c, zfileio.c)

Changes the interpreter trace output to be somewhat more readable.
(interp.c)

Makes the linking of the binary token scanning procedure static rather than
dynamic.  (int.mak, inobtokn.c, iscan.c, zbseq.c)

Makes the language level a property of the context, eliminating a writable
static.  (icstate.h, idparam.h, ilevel.h, icontext.c, idparam.c, iinit.c,
interp.c, zcontext.c, zmisc2.c)

Updates clients for the change in dict_uid_param.  (zbfont.c, zfcmap.c,
zpcolor.c, zshade.c)

</pre><h3><a name="5.82_Library"></a>Library</h3><pre>

Fixes problems:
	- There was a signed/unsigned char * mismatch.  (sfxfd.c)
	- Some very picky compilers complained inappropriately about a
const/non-const mismatch.  (gxcht.c)
	- The format of the string freelists didn't allow chunks with more
than 64K bytes of string area.  (gxalloc.h, gsnogc.c)

Moves the interface definitions for the memory dump debugging code into a
header file.  (gxalloc.h, gsalloc.c)

Makes the standard memory manager recognize more effectively when it can
reset the high-water mark for occupied space in the current chunk.  This
turns out to make a big difference in preventing sandbars.  (gxalloc.h,
gsalloc.c)

Makes clipping lists keep track of their minimum and maximum X values, so
that they can return accurate outer clipping boxes, which in turn allows
more effective pre-clipping of filled regions.  (gxcpath.h, gxacpath.c,
gxclip.c, gxcpath.c)

Makes clipping devices cache their clipping box, so they can return it
quickly.  (gxcpath.h, gxclip.c)

Makes the colored halftone logic check bounding boxes before running the
expensive algorithms.  This improves performance dramatically for some files
without costing much for the rest.  (gxcht.c)

Adds some more debugging printout for clipping lists.  (gxcpath.c)

Cleans up formatting and macros.  (gdevdflt.c, gdevhit.c, gdevnfwd.c)

Factors out some common parameter-putting utilities.  (gsparamx.h,
gsparamx.c, gstrap.c)

Adds some more tracing output for images.  (gxidata.c)

</pre>

<hr>

<h2><a name="Version5.81"></a>Version 5.81 (tester) (4/14/99)</h2>

<p>
This fileset cleans up most of the bug tail from 5.80, but it doesn't fix
all the reported problems.  It also factors out the platform-specific DLL
calls, and extends the DLL API to the Mac.

<h3><a name="5.81_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Platforms)
	- gsdll_get_bitmap is now defined in gsdllos2.h; gsdll_copy_dib,
_copy_palette, _draw, and _get_bitmap_row are now defined in gsdllwin.h.

(Interpreter)
	- zcolor_remap_one may return 0 rather than o_push_estack.  (This
change actually occurred in 5.80, but was not documented.)

(Library)
	- The initialized parameters of an image scaling filter are now
stored in a subsidiary structure.
	- The names max_support and log2_max_support are changed to
MAX_ISCALE_SUPPORT and LOG2_MAX_ISCALE_SUPPORT.
	- The structure definition for the smoothed image scaling filter is
now private, although its descriptor remains public.
	- The criteria for when to use Interpolate are now more stringent.

</pre><h3><a name="5.81_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- gs_trap.ps wasn't installed by `make install'.  (unixinst.mak)
	- A semicolon was missing in one definition of GS_LIB_DEFAULT.
(watc.mak)
	- ll.tr and _temp_.tr weren't created in the obj directory.
(watc.mak, wctail.mak)
	- RM_ was defined incorrectly on one platform.  (wccommon.mak)

</pre><h3><a name="5.81_Utilities"></a>Utilities</h3><pre>

Makes some minor edits in ansi2knr, contributed by a user, to remove gcc
warnings.  (ansi2knr.c)

</pre><h3><a name="5.81_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- There was an int/uint mismatch.  (gdevbmpa.c)
	- There was a const/non-const mismatch.  (gdevbmpa.c)

Changes the p*m drivers so that they use the default color mapper when
possible, speeding up execution.  (gdevpbm.c)

</pre><h3><a name="5.81_Fonts"></a>Fonts</h3><pre>

Adds Black as indicating that a bold font should be substituted if
necessary.  (lib/gs_fonts.ps)

</pre><h3><a name="5.81_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The Watcom NT compiler implements setmode and fileno but not
_setmode and _fileno.  (gp_ntfs.c)
	- The procedure parameter passed to the Windows _beginthread
procedure had the wrong prototype.  (gp_win32.c)
	- Watcom's _beginthread procedure takes an extra argument.
(windows_.h, gp_win32.c)

Extends the DLL API to work on the Mac.  This required some restructuring of
the code, and some NON-BACKWARD-COMPATIBLE changes to move
environment-specific calls into environment-specific header files.
(pcwin.mak, os2.mak, winint.mak, dwdll.h, gsdll.h, gsdllmac.h, gsdllos2.h,
gsdllwin.h, dpmainc.c, dwdll.cpp, dwnodll.cpp, gdevmswn.c, gdevpm.c,
gdevwdib.c, gsdll.c)

</pre><h3><a name="5.81_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Changes the interpreter to handle two more specification-violating
conditions that Adobe Acrobat accepts: truncation of %%EOF to %%EO, and use
of Dest links with no Dests dictionary.  (lib/pdf_main.ps)

</pre><h3><a name="5.81_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- gcc failed to flag initialization of an automatic aggregate, which
is allowed in neither ANSI nor traditional C.  (iutil.c)
	- The system name table lacked the last 3 entries.
(lib/gs_btokn.ps)
	- Interpolated images always wound up at (0, 0).  (bug introduced in
5.80) (gxipixel.c)
	- The Watcom compiler didn't consider "const uint" and "const
unsigned" to be compatible.  (ifunc.h)
	- The code to detect identity transfer functions could cause
transfer functions not to be processed at all.  (icolor.h, zcolor.c,
zcolor1.c, zht2.c)
	- The Level 2 redefinition of restore could do an extra grestore,
possibly creating a temporary reference to a freed object.  (zdevice2.c)

Adds more tracing for undo-saves, and changes a macro to a procedure.
(isave.c)

Removes some #define'd casts.  (isave.c)

</pre><h3><a name="5.81_Library"></a>Library</h3><pre>

Fixes problems:
	- When banding, the color space wasn't reinitialized for each page.
(gxclist.c)
	- The criterion for allowing image interpolation still produced
"mush" for some important classes of image.  (gxiscale.c)
	- The Watcom compiler didn't consider "const uint" and "const
unsigned" to be compatible.  (gscdefs.h, gconf.c)
	- Identity black generation and undercolor removal functions weren't
passed through the band list correctly.  (gxcldev.h, gxclbits.c, gxclrast.c)
	- Once again, gcc failed to give a warning for extern followed by
private.  (gxcdevn.h)
	- glyphshow set up the text operation in a way that created a
garbage collector error.  (gschar.c)

Makes gs_opendevice complete the device procedure vector if the device
wasn't already open.  (gsdevice.c)

Factors out the image scaling filter so that we can use either Adobe's
algorithm or the Mitchell filter.  This involves a NON-BACKWARD-COMPATIBLE
CHANGE in the way the filter parameters are defined.  (gximage.h, siscale.h,
sisparam.h, gxclimag.c, gxidata.c, gxiscale.c, siscale.c)

Makes the criteria for when to use interpolation stricter, since we are
still using the Mitchell filter.  (gxiscale.c)

Starts to implement Adobe's image interpolation algorithm.  (siinterp.h,
siinterp.c, gxiscale.c)

Speeds up RGB interpolated images by detecting runs of output color.
(gxiscale.c)

Makes the default RGB color mapper a "known" mapper that can be propagated
through device pipelines.  (gxdevice.h, gsdevice.c)

</pre>

<hr>

<h2><a name="Version5.80"></a>Version 5.80 (tester) (4/6/99)</h2>

<p>
This version contains the first, and, we hope, largest wave of changes in
the interpreter required to make the interpreter fully reentrant.
Unfortunately, many externally visible APIs, including the argument list for
operator procedures, required changes.

<p>
Because of the magnitude of the change, we incremented the version number to
5.80.

<p>
The non-backward-compatible API changes were confined to the interpreter:
the (very minor) changes to the library required to support interpreter
reentrancy are fully backward-compatible.

<p>
This fileset also implements DeviceN color spaces (always using the
alternate space), including Indexed spaces over DeviceN spaces, for all uses
except smooth shading.

<h3><a name="5.80_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- names_init now takes a gs_ref_memory_t * rather than a gs_memory_t
*.
	- type_print_strings, type_name_strings, and
ref_type_properties_data are now REF_TYPE_DEBUG_PRINT_STRINGS,
REF_TYPE_NAME_STRINGS, and REF_TYPE_PROPERTIES_DATA.
	- The undocumented .writecvp operator, and obj_cvp, now take an
integer instead of a Boolean to define the type of output desired.
	- The argument list for operators is changed from os_ptr to
i_ctx_t *.  Many internal interpreter APIs have changed.
	- The typedef name for operator procedures is changed from op_proc_p
to op_proc_t.
	- gs_interpret now takes an additional context (i_ctx_t **)
argument.
	- The interpreter's rescheduling and time-slicing procedures,
gs_interp_reschedule_proc and gs_interp_time_slice_proc, now take a context
(i_ctx_t **) argument.
	- The Type 1 interpreter push_value callback is renamed push_values;
the first argument of push_values and pop_value has changed from
gs_font_type1 * to void *.
	- dict_put*, dict_copy*, dict_undef, dict_resize, dict_grow, and
dict_unpack now take an additional argument, a dictionary stack where the
dictionary may be present.

</pre><h3><a name="5.80_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The dependency list for the (dummy) trapping feature was wrong.
(int.mak)
	- The directory for jerror_.h was incorrect.  (jpeg.mak)

Removes the never-used -header switch from genconf.  (genconf.c)

Adds priority-sorted resources to genconf, currently used only for image
classes.  (genconf.c)

Adds an imageclass resource to genconf, for what used to be called image
strategies.  (genconf.c)

</pre><h3><a name="5.80_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- ansi2knr didn't recognize id1(id2, xxxxx) as not being a function.
(ansi2knr.c)
	- viewpcx still referred to the deleted PCXDecode filter.
(lib/viewpcx.ps)
	- strlen was called without being declared.  (genarch.c)

</pre><h3><a name="5.80_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- Some drivers that called gdev_prn_open_printer didn't check the
return code for errors.  (gdevdjet.c, gdevhl7x.c)
	- The cljet5 driver didn't handle long-edge feed properly.  (from
Artifex) (gdevclj.c)
	- The [e]pswrite driver could produce incorrect output if the input
file had zero-length lines.  (gdevps.c)
	- The X driver didn't handle byte-swapped 16-bit displays.
(gdevx.c)
	- There was an int/uint mismatch.  (gdevbmp.c)
	- Some needed headers weren't included.  (gdevdcrd.c, gdevpdfo.c)
	- The updated mswinpr2 driver wouldn't compile with older Windows
header files.  (gdevwpr2.c)

Removes some unnecessary #includes.  (gdevps.c)

Adds user-contributed drivers for the CoStar LabelWriter II Plus and XL
label printers.  (gdevcslw.c)

Speeds up color mapping for the bitrgb driver a little, by using the default
procedure.  (gdevbit.c)

</pre><h3><a name="5.80_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- TrueType fonts with odd-length glyf definitions caused an
invalidfont error.  (lib/gs_ttf.ps)

Changes the font substitution mechanism slightly to be more useful to the
PDF interpreter.  (lib/gs_fonts.ps)

</pre><h3><a name="5.80_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- Some needed headers weren't included.  (watc.mak, watclib.mak,
winlib.mak, gp_win32.c)

</pre><h3><a name="5.80_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- There were many signed/unsigned char type errors that gcc didn't
catch.  (gp_gnrdl.c)
	- The operator definition list for zdouble was too long.  (int.mak,
zdouble.c)

Removes some unnecessary #includes.  (zchar.c)

Speeds up names_string_ref.  (inamedef.h, inames.h, imain.c, iname.c)

Speeds up reading string/name array parameters.  (iparam.c)

Refactors the implementation of ==, so that all types other than arrays and
dictionaries are handled in C code.  (lib/gs_init.ps, iutil.h, iref.h,
gp_gnrdl.c, idebug.c, iutil.c, zfileio.c, ztype.c)

Changes the type name for operator procedures from op_proc_p to op_proc_t,
for consistency and also to help detect places that need the argument list
changed.  (ichar.h, interp.h, iref.h, opdef.h, interp.c, iutil.c, zchar.c,
zcharx.c, zcontrol.c, zupath.c)

Changes the argument type for operators from os_ptr to i_ctx_t *.  (i_ctx_t
is an alias for gs_context_state_t.)  This also requires adding a context
pointer to many internal procedures, or changing an os_ptr argument to
i_ctx_t *.  This is a MASSIVE NON-BACKWARD-COMPATIBLE change which we simply
saw no way to avoid if the interpreter was to be made fully re-entrant.  See
"Incompatible changes" above for externally visible changes.
(lib/gs_init.ps, bfont.h, btoken.h, dstack.h, estack.h, files.h, ichar.h,
ichar1.h, icharout.h, icie.h, icolor.h, icontext.h, icsmap.h, ifilter.h,
ifont1.h, igstate.h, iht.h, iimage.h, iimage2.h, imain.h, imemory.h,
interp.h, ipacked.h, iref.h, iscan.h, istream.h, opdef.h, oper.h,
opextern.h, ostack.h, ialloc.c, icontext.c, iinit.c, imain.c, inouparm.c,
interp.c, ireclaim.c, iscan.c, iscanbin.c, zarith.c, zarray.c, zbfont.c,
zbseq.c, zcfont.c, zchar.c, zchar1.c, zchar2.c, zchar32.c, zchar42.c,
zcharout.c, zcharx.c, zcid.c, zcie.c, zcolor.c, zcolor1.c, zcolor2.c,
zcontext.c, zcontrol.c, zcrd.c, zcsdevn.c, zcsindex.c, zcspixel.c,
zcssepr.c, zdevice.c, zdevice2.c, zdict.c, zdosio.c, zdouble.c, zdpnext.c,
zdps.c, zdps1.c, zfbcp.c, zfcmap.c, zfdctd.c, zfdcte.c, zfdecode.c, zfile.c,
zfileio.c, zfilter.c, zfilter2.c, zfilterx.c, zfont.c, zfont0.c, zfont1.c,
zfont2.c, zfont32.c, zfont42.c, zfproc.c, zfreuse.c, zfunc.c, zfzlib.c,
zgeneric.c, zgstate.c, zhsb.c, zht.c, zht1.c, zht2.c, zimage.c, zimage2.c,
zimage3.c, ziodev.c, ziodev2.c, zmath.c, zmatrix.c, zmedia2.c, zmisc.c,
zmisc1.c, zmisc2.c, zmisc3.c, zpacked.c, zpaint.c, zpath.c, zpath1.c,
zpcolor.c, zrelbit.c, zrop.c, zshade.c, zstack.c, zstring.c, zsysvm.c,
ztoken.c, ztrap.c, ztype.c, zupath.c, zusparam.c, zvmem.c, zvmem2.c)

Changes caching for the interpreter's CIE color spaces so that instead of
changing the color space installation procedure to one that schedules the
sampling of the procedures though a back door, it leaves the installation
procedure alone and schedules the sampling in the color-space-specific
setcolorspace operator.  This is needed for interpreter reentrancy.
(icie.h, zcie.c, zcrd.c)

Makes the linkage from the dictionary machinery to the cached values in the
dictionary stack and the name table explicit, by adding a dstack pointer to
all the relevant dict_* procedures.  This is needed for interpreter
reentrancy.  (iddstack.h, idict.h, idstack.h, idict.c)

Updates clients for the change in the dictionary API.  For each changed
dict_ procedure, we add an idict_ procedure that uses i_ctx_p-&gt;dict_stack as
the additional argument.  (iddict.h, icontext.c, iinit.c, interp.c,
iparam.c, iscanbin.c, zdps.c, zfcmap.c, zdict.c, zfont.c, zfont0.c,
zgeneric.c, zht2.c, zmisc2.c)

Changes Pattern color remapping so that it saves information in the
interpreter's part of the graphics state, rather than manipulating the
e-stack directly.  This is needed for interpreter reentrancy.  (errors.h,
icremap.h, igstate.h, interp.c, zgstate.c, zpcolor.c)

Adds to the "main instance" structure a pointer to the currently executing
context.  This is needed for interpreter reentrancy.  (imain.h, iminst.h,
main.h, imain.c, imainarg.c)

Changes the argument list for operator initialization procedures from void
to i_ctx_t *.  (opdef.h, ireclaim.c, zbfont.c, zbseq.c, zcontext.c, zfile.c,
zfont.c, zpcolor.c)

Changes the initialization of the interpreter's allocators so it doesn't
presume the allocator structure is global.  (ialloc.h, ialloc.c, imain.c)

Factors out the structure definition of the stacks, which is needed for
defining the state of a context, from the API, which is only needed by
actual clients.  (icstate.h, idsdata.h, idstack.h, iesdata.h, iestack.h,
iosdata.h, iostack.h, isdata.h, istack.h)

Changes filter error reporting so that the report_error procedure doesn't
need access to the interpreter.  (interp.h, interp.c, zfile.c, zfileio.c)

Completes the implementation of DeviceN color spaces at the interpreter
level.  (lib/gs_res.ps, lib/gs_lev2.ps, lib/gs_ll3.ps, icsmap.h, zcsdevn.c,
zcsindex.c, zcssepr.c, zimage.c)

Speeds up color mapping for identity transfer, BG, or UCR functions.
(zcolor.c)

</pre><h3><a name="5.80_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The L range for Lab color spaces was wrong.  (lib/pdf_draw.ps)
	- Images in Lab color spaces came out all black.  (lib/pdf_draw.ps)

Improves the font substitution mechanism slightly.  (lib/pdf_font.ps)

</pre><h3><a name="5.80_Streams"></a>Streams</h3><pre>

Adds an error string to the stream state structure, which stream
implementations can set when returning an error.  The motivation is to allow
the PostScript interpreter to put this into $error.errorinfo.  (scommon.h,
stream.c)

</pre><h3><a name="5.80_Library"></a>Library</h3><pre>

Fixes problems:
	- The S_ISCHR fix in 5.73 had a typo.  (stat_.h)
	- The garbage collector traced dash pattern pointers even if the
pattern had no elements.  (gzline.h, gsistate.c)
	- Always tracing the clip_path element of gx_device_clist for
garbage collection could cause crashes, because this pointer could be stale.
However, we have to trace this pointer if an image is being processed.
(gxclist.c)
	- A close-brace was positioned incorrectly.  (No effect on the
working of the code.)  (gximage3.c)
	- Some macros caused some compilers to complain about functions that
didn't return values.  (gsmemlok.c)
	- A procedure vector wasn't declared const.  (gsmemlok.c)
	- Some needed headers weren't included.  (gscrdp.c)
	- A const pointer was being treated as non-const.  (gxcpath.c)
	- The algorithm for choosing halftone cell dimensions required an
unreasonably close angle tolerance (0.01 degrees, rather than 1% of a
90-degree possible difference).  (gshtscr.c)

Speeds up arcs a little more.  (gspath1.c)

Removes some unnecessary #includes.  (gxclpath.h, gxcpath.h, gzcpath.h,
gxccman.c, gxclip.c, gxcpath.c, gxi12bit.c, gxicolor.c, gxifast.c,
gximono.c, gxiscale.c, gxpcmap.c)

Cleans up some formatting.  (gxpath.c)

Re-enables image interpolation for images that have at least 8 bits of input
data per pixel.  This is still a compromise....  (gxiscale.c)

Enhances the default implementation of parameter lists so that a C parameter
list can forward unrecognized param_read calls to another parameter list.
This allows constructing incrementally modified parameter lists for internal
purposes.  (gsparam.h, gscparam.c)

Changes the first argument of the Type 1 charstring interpreter push_value
(which is renamed push_values) and pop_value callbacks from the font pointer
to an arbitrary pointer passed in to the interpreter.  This is needed for
PostScript interpreter reentrancy.  (gstype1.h, gxfont1.h, gxtype1.h,
gstype1.c, gxtype1.c)

Adds an allocator wrapper that calls a closure to attempt to free up memory
if an allocation fails.  This is used for asynchronous operation (waiting
for the page queue to empty) and operation with an optional disk for the
band list.  (gsmemret.h, gsmemret.c)

Adds the retrying wrapper to the malloc allocator.  (gsmalloc.c)

Makes "async" printer devices use the retrying wrapper.  (gdevprna.c)

Makes clist_fill_parallelogram recognize rectangles.  This makes a big
difference for images rotated 90 degrees.  (gsrect.h, gdevddrw.c,
gxclpath.c)

Arranges to construct the list of image classes (formerly called strategies)
statically rather than dynamically.  (lib.mak, gscdefs.h, gxiclass.h,
gximage.h, gconf.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c,
gxipixel.c, gxiscale.c)

Implements Indexed color spaces for high-level image banding.  (gxclist.h,
gxclpath.h, gxclimag.c, gxclrast.c)

Arranges to construct the blank bitmap for colored patterns statically
rather than dynamically.  (gsbitmap.h, gxbitmap.h, gxcht.c)

Changes FORCE_STRIP_HALFTONES from a #define to a static Boolean.
(gshtscr.c)

Implements alternate-space DeviceN color spaces.  (gscspace.h, gxcdevn.h,
gscdevn.c)

Implements DeviceN color spaces for images.  (gximage.h, gsimage.c,
gxi12bit.c, gxicolor.c, gxidata.c, gximage3.c, gximono.c, gxipixel.c)

Speeds up color mapping a bit.  (gxfmap.h, gsdevice.c, gsstate.c,
gxclbits.c, gxclrast.c, gxcmap.c)

</pre>

<hr>

<h2><a name="Version5.73"></a>Version 5.73 (tester) (3/19/99)</h2>

<p>
This fileset fixes a few bugs and adds a couple of minor performance
improvements.  Its purpose is to fix a fairly serious memory management bug
and a Microsoft-platform compilation problem, both introduced in 5.72.

<h3><a name="5.73_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- Removes the restriction on device registration that was introduced
in 5.72.
	- gx_[c]path_scale_exp2 are replaced by gx_[c]path_scale_exp2_shared.

</pre><h3><a name="5.73_Documentation"></a>Documentation</h3><pre>

Identifies GNU readline support as user-contributed, and adds the author's
name.  (int.mak, unix-gcc.mak, gp_gnrdl.c)

Notes that an edit is required for GNU readline for AIX.  (doc/Make.htm)

Changes the bug reporting e-mail address to bug-gs@aladdin.com.
(doc/Bug-form.htm, doc/New-user.htm, doc/Use.htm, imainarg.c)

</pre><h3><a name="5.73_Procedures"></a>Procedures</h3><pre>

Adds FEATURE_DEVS_EXTRA and DEVICE_DEVS_EXTRA, reserved for setting from the
command line.  (gs.mak)

</pre><h3><a name="5.73_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- A needed cast was missing.  (gdevx.c)

</pre><h3><a name="5.73_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- A needed cast was missing.  (zfname.c)
	- The CFF loader didn't handle empty subsections correctly.
(lib/gs_cff.ps)
	- GNU readline gave an error, rather than expanding the input
buffer, when called in response to %lineedit.  (files.h, zfileio.c,
ziodev.c)
	- GNU readline wasn't always initialized, causing a crash when an
attempt was made to shut it down.  (iminst.h, imain.c)

Adds more tracing to the CFF loader.  (lib/gs_cff.ps)

Adds some deconstifying casts to compensate for broken headers in the GNU
readline package.  (gp_gnrdl.c)

</pre><h3><a name="5.73_Library"></a>Library</h3><pre>

Fixes problems:
	- The bounding box device didn't ignore filling paths consisting
only of a moveto.  (gdevbbox.c)
	- Some systems have S_IFCHR but not S_ISCHR.  (stat_.h)
	- The clipping list accumulator didn't merge single rectangles
correctly.  (gxacpath.c)
	- The clipping list accumulator wasn't aggressive enough about
merging rectangles.  (Performance effect only.)  (gxacpath.c)
	- The page wasn't cleared when installing a new device. (bug
introduced in 5.72) (gsdevice.c)
	- With graphics anti-aliasing enabled, executing clip or eoclip
followed by fill or stroke produced incorrect output.  (bug introduced
between 5.10 and 5.50) (gxpath.h, gspaint.c, gxcpath.c, gxpath2.c)
	- The garbage collector could crash if any banded devices were
active.  (bug introduced in 5.72) (gdevprn.c)

Changes memory management for device instances to allocate the structure
type objects dynamically.  This gets rid of a static, and also gets rid of
the requirement that device prototypes be registered, at the expense of an
extra copy of the (small) structure type object per instance of certain
devices.  (gscdefs.h, gxdevcli.h, gxdevice.h, gconf.c, gsdevice.c)

Disables image interpolation for all high-resolution images, not just
black-and-white, since this produces better-looking output.  (gxiscale.c)

Speeds up path bounding box computation a little.  (gxpath2.c)

Speeds up clipping a little.  (gxclip.c)

Cleans up formatting a bit.  (gxacpath.c)

Adds support for libpng version 1.0.3, but (for now) updates only the
OpenVMS and Unix makefiles to use it.  (libpng.mak, openvms.mak,
openvms.mmk, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak)

Attempts to work around picky compilers that don't allow assigning T[M][N]
to const T[M][N].  (gxcht.c)

</pre>

<hr>

<h2><a name="Version5.72"></a>Version 5.72 (tester) (3/17/99)</h2>

<p>
This fileset finally gets rid of the need to have jpeg, libpng, or zlib
source code on Unix systems that already have these libraries available.  It
also starts to add support for general DeviceN color spaces.

<p>
Works in progress:
<ul>
<li>	- Fix Fontmap -&gt; Fontmap.GS link, which VMS can't handle.
<li>	- Make x11alpha do real alpha blending.
<li>	- spdiff.c is unfinished, partly wrong.
<li>	- DeviceN support is in progress.  In gxcht.c,
set_ht_colors_le_4
and set_color_ht_gt_4 don't have any way to color-map >4 planes.
</ul>

<h3><a name="5.72_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- The str argument of arg_push_memory_string is no longer const.
	- The last argument of print_reloc is now const.

(Library)
	- Clients should never call the device open_device or close_device
procedure directly: they should call gs_opendevice or gs_closedevice.
	- The fn_free_functions procedure has been made private.
	- The first argument of gs_currentpoint is no longer const.
	- References to header files in the third-party libraries must now
include a trailing _, i.e.: jerror_.h jmorecf_.h jpeglib_.h png_.h zconf_.h
	- IJG JPEG library versions before v5a are no longer supported.
	- ilog2 replaces small_exact_log2.
	- Support for "outside" clipping has been removed.
	- Clients that define their own devices now must either register
them in the makefile (using the SET[P]DEV[2] macros) or set the stype
pointer in the static prototype to the correct structure type (or at least a
structure type with the correct procedures).

</pre><h3><a name="5.72_Documentation"></a>Documentation</h3><pre>

Clarifies the fact that clients should never call the device open_device or
close_device procedure directly.  (doc/Drivers.htm)

Updates contact information for Artifex Software.  (doc/Commprod.htm,
doc/New-user.htm)

Clarifies the fact that Aladdin did not write gdevcdj.c.  (gdevcdj.c)

Documents the new -TTYPAUSE switch.  (doc/Use.htm)

Adds SCO OpenServer 5.0.5 to the list of systems where Ghostscript is known
to build.  (doc/Make.htm)

Notes that the MIPSpro 7.2.1.3m compiler produces incorrect output.
(doc/Make.htm)

</pre><h3><a name="5.72_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The Unix install directory ($(gsdatadir)) and the Unix default
search path ($(gsdatadir)/lib) weren't compatible.  (bug introduced since
5.50) (unixinst.mak)
	- The compilation rule for echogs omitted a dependency and also
failed to specify a directory for header files.  (unix-aux.mak)
	- Third-party library source code was required even if the
corresponding SHARE_xxx option was set to 1.  (devs.mak, gs.mak, int.mak,
lib.mak, jpeg.mak)

Adds a -dTTYPAUSE switch to cause .confirm to read from /dev/tty instead of
stdin, useful when the data input is a pipe.  (lib/gs_init.ps)

</pre><h3><a name="5.72_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- Some preprocessor macros were defined twice on VMS.  (echogs.c)
	- traceop.ps didn't build operator-tracing procedures in global VM.
(This didn't matter before we introduced local pseudo-operators.)
(lib/traceop.ps)
	- geninit produced invalid output or hung if the input files didn't
have the correct EOL representation for the platform.  (geninit.c)

Updates a (probably otherwise obsolete) file for the deletion of the private
JPEG library error message table.  (bughunt.sh)

</pre><h3><a name="5.72_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- A procedure returning void tried to return a value.  (gdevtfax.c)
	- For 24-bit displays, XGetImage can return an image in which
bits_per_pixel is 32 rather than 24, which is not at all obvious from the
documentation; also, the bit and byte ordering may not be MSBFirst.
(gdevx.c)
	- XFree takes a char *, not a void *.  (gdevx.c)
	- The fix in 5.71 to adjust the width of TIFF images introduced
another bug.  (gdevtfax.c)
	- If the X driver used a standard colormap, pixel values 255 and
less didn't map back to RGB properly. (bug introduced in 5.71) (gdevxcmp.c)
	- The ForceMono addition to gdevbit.c (in 5.71) was incorrect.
(gdevbit.c)
	- There was a const mismatch in an extern.  (gdevxalt.c)
	- Third-party library source code was required even if the
corresponding SHARE_xxx option was set to 1.  Fixing this required
referencing all third-party library header files through *_.h files.
(gdevjpeg.c, gdevpdfi.c, gdevpng.c, gdevpsdi.c, gdevpsdp.c)
	- There was no way to cause the bounding box device to give up its
reference to the target.  (gdevbbox.h, gdevbbox.c)
	- pdfwrite crashed if given a 12-bit-per-sample CMYK image when
ConvertCMYKImagesToRGB was true, and produced invalid output for other
12-bit-per-sample images (PDF limits bits-per-sample to 8).  (gdevpsdi.c)
	- pdfwrite mangled planar images if bits-per-sample was other than
8.  (bug introduced since 5.50) (gdevpdfi.c)

Changes some code to reduce compiler warnings about casts discarding const.
(gdevxalt.c)

Removes a test that allowed referencing the statically allocated instance of
the alternative X drivers.  (gdevxalt.c)

Changes a reference to small_exact_log2.  (gdevsvga.c)

Greatly improves the PDF writer's handling of simple pattern fills, by
retaining them as pattern fills.  (gdevpdfx.h, gdevpdf.c, gdevpdfi.c)

</pre><h3><a name="5.72_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- Cn in a font name wasn't recognized as indicating a condensed
font.  (lib/gs_fonts.ps)

</pre><h3><a name="5.72_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Third-party library source code was required even if the
corresponding SHARE_xxx option was set to 1.  Fixing this required
referencing all third-party library header files through *_.h files.
(zfdctd.c, zfdcte.c)
	- An /undefined error occurred on floating point numbers whose
integer part exceeded the size of a long (normally 31 bits) and that also
included a fraction.  (iscannum.c)
	- ialloc.c included gxarith.h unnecessarily.  (ialloc.c)

When opening a terminal for reading, always sets the buffer size to 1.  This
does not apply to %stdin, %lineedit, or %statementedit.  (zfile.c)

Changes code to use the new deconstifying freeing procedures, to remove
deconstifying casts.  (gsargs.h, ialloc.h, gsargs.c, zfname.c, zfunc.c)

Adds a writable packed ref pointer variant to ref.value, to remove compiler
warnings about casts discarding const.  (igc.h, iref.h, idict.c, igc.c,
igcref.c)

Changes the help printouts to use the new printf_program_ident procedure.
(imainarg.c)

Generalizes clients to handle color spaces that may have more than 4
components.  (zcsdevn.c, zcsindex.c, zcssepr.c, zdpnext.c, zfdecode.c)

Removes support for outside clipping, which we implemented only because we
misinterpreted a requirement.  (zpath.c)

</pre><h3><a name="5.72_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Selecting a colored Pattern color space caused an error.
(lib/pdf_draw.ps, lib/pdf_ops.ps)
	- Reading data from a subfile with no filter caused an error.
(lib/pdf_base.ps)

Allows mask images to omit BitsPerComponent: Acrobat Reader accepts this
even though the PDF specification requires it to be present (with value =
1).  (lib/pdf_draw.ps)

</pre><h3><a name="5.72_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The PixelDifference filters didn't propagate leftover bits in the
last byte of a row. (bug probably introduced in 5.60) (spdiff.c)
	- The 1- and 2-bit-per-pixel PixelDifferenceEncode filters were
broken.  (spdiff.c)

Changes code slightly to remove a warning about an uninitialized variable.
(spdiff.c)

Extends the PixelDifference filters to handle more than 4 Colors.
s_PDiff_max_Colors is the maximum value.  (spdiffx.h, spdiff.c)

Adds a stream for converting 12-bit samples to 8-bit.  (gdevpsds.h,
gdevpsds.c)

Gets rid of the no longer needed private copy of the JPEG error message
table.  (sdcte.c, sdeparam.c, sjpegerr.c [deleted], sjpegc.c)

</pre><h3><a name="5.72_Library"></a>Library</h3><pre>

Fixes problems:
	- If a 1-bit-per-pixel image terminated early, the last few scan
lines might not be written out.  (gxidata.c)
	- The bbox device could leave its target in a half-open state,
because it called the open/close_device procedures directly rather than
going through gs_open/closedevice.  We "fixed" this by making this device
forward open and close, but conditionally, so that clients can choose.
(gdevbbox.c)
	- Third-party library source code was required even if the
corresponding SHARE_xxx option was set to 1.  Fixing this required
referencing all third-party library header files through *_.h files.
(sdcparam.c, sdctc.c, sdctd.c, sddparam.c, sjpegc.c, sjpegd.c, sjpege.c,
sjpegerr.c)
	- Low-memory recovery in the band list writer sometimes didn't work,
because a test was backwards.  (gxcldev.h, gxclist.c)
	- Executing a put_params during band rasterizing didn't update
cached values in the imager state.  This was probably not a problem in
practice, since the only parameters that affect cached values (device color
space, depth, and color mapping) were very rarely set.  (gxclrast.c)
	- Converting 12-bit planar images to chunky format could store
beyond the end of the output area and corrupt memory.  (gsflip.h, gsflip.c)
	- The algorithms for converting 4-plane, 1- and 2-bit planar images
to chunky format were wrong.  (gsflip.c)
	- Images that lay entirely outside the page could cause a memory
access error.  (gxclimag.c)
	- The bbox device could return excessively conservative values for
stroked paths.  (gxpaint.h, gdevbbox.c, gxpaint.c, gxstroke.c)
	- Banding devices now include some pointers that the garbage
collector must trace.  (gdevprn.h, gxclist.h, gxdevice.h, gdevprn.c,
gsdevice.c, gxclist.c)

Adds a gs_opendevice procedure to mirror gs_closedevice.  (gsdevice.h,
gsdevice.c)

Adds deconstifying freeing procedures to the memory manager.  This allows us
to have pointers as structure members that should be const * for all
ordinary clients, and still be able to free the referenced objects without a
compiler warning.  (gsmemory.h, gsmemory.c)

Changes code, often to use the new deconstifying freeing procedures, to
remove deconstifying casts.  (gspath.h, gxfunc.h, gsfunc.c, gsfunc0.c,
gsfunc3.c, gspath.c, gsptype1.c)

Changes the eprintf macros so they print the version as well as the program
name.  (std.h, gscdef.c, gsmisc.c)

Adds procedures that update cached values in graphics or imager states after
setting device parameters.  Clients should use these when setting parameters
of devices that may be current in graphics or imager states.  Note that this
is only a partial solution for a much deeper problem, and may even have to
be replaced at some point.  (gsdevice.h, gsdevice.c)

Defines GS_CLIENT_COLOR_MAX_COMPONENTS (in gsccolor.h),
GX_DEVICE_COLOR_MAX_COMPONENTS (in gxcindex.h), and GS_IMAGE_MAX_COMPONENTS,
and starts to use them where needed, in anticipation of implementing DeviceN
color spaces.  (gsccolor.h, gsdcolor.h, gsiparam.h, gsiparm4.h, gxcindex.h,
gxctable.h, gximage.h, gxshade.h, gdevplnx.c, gscdevn.c, gscolor2.c,
gxcht.c, gxclimag.c, gxcmap.c, gxicolor.c, gxctable.c, gxi12bit.c)

Replaces small_exact_log2 by a procedure ilog2 that computes floor(log2(n)).
(gxarith.h, gsmisc.c, gspaint.c, gxccman.c, gxclimag.c, gxclrect.c)

Upgrades gsflip.c to handle >4 planes.  (gsbitops.h, gsflip.h, gsflip.c)

Speeds up getting and testing memory device prototypes a little.  (gdevmem.c)

Speeds up adding arcs to a path a little.  (gspath1.c)

Increases the precision of a precomputed constant from float to double.
(gxpath.h)

Adds a new band list operation to make circles smaller and faster.
(gxclpath.h, gxclpath.c, gxclrast.c)

Adds an accessor procedure for the start point of the current subpath.
(gxpath.h, gxpath2.c)

Removes support for outside clipping, which we implemented only because we
misinterpreted a requirement.  (gspath.h, gxcldev.h, gxcpath.h, gxpath.h,
gspath.c, gxacpath.c, gxclip.c, gxclpath.c, gxclrast.c, gxcpath.c)

Changes gs_copydevice to require that static prototypes either be registered
in gx_device_list or have a correct stype pointer.  (This is already the
case for all devices in code we distribute.)  (gsdevice.c)

Adds ENUM_PTRS_PROC and RELOC_PTRS_PROC macros for giving a name to the
typed pointer to the object being processed.  (gsstruct.h)

</pre>

<hr>

<h2><a name="Version5.71"></a>Version 5.71 (tester) (3/3/99)</h2>

<p>
This fileset reinstates support for TrueColor X displays, and adds optional
support for GNU readline.  It also includes a little more work on the new
driver text API.

<h3><a name="5.71_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- The *line_accum* macros are now capitalized; declare_line_accum is
renamed DECLARE_LINE_ACCUM_COPY, and DECLARE_LINE_ACCUM is new.

</pre><h3><a name="5.71_Documentation"></a>Documentation</h3><pre>

Documents the CIE joint cache invariant more accurately.  (gscie.h)

Adds a request for xdpyinfo/xwininfo output to the problem reporting form.
(doc/Bug-form.htm)

</pre><h3><a name="5.71_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The default search path was missing the lib subdirectory on many
platforms.  (dvx-gcc.mak, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak,
unixtrad.mak, watc.mak, watclib.mak, watcw32.mak)
	- The dependency list for the X Windows drivers was incorrect,
sometimes causing needed recompilation to be omitted.  (devs.mak)

</pre><h3><a name="5.71_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The representation of maximum unsigned values produced warnings on
some compilers (specifically, gcc with -Wtraditional).  (genarch.c)
	- Some string variables weren't declared const.  (echogs.c,
genarch.c)
	- The viewpbm utility was broken for pgm and ppm (but not pbm).
(bug introduced in 5.66) (lib/viewpbm.ps)

</pre><h3><a name="5.71_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The X driver didn't handle TrueColor displays properly.
(gdevxcmp.h, gdevxcmp.c)
	- The alternative X drivers didn't implement get_bits properly.
(gdevxalt.c)
	- The X driver specified the byte order incorrectly for displays
with more than 8 bits per pixel.  (gdevx.c)
	- The X driver used the wrong number of bits for comparing colors on
visuals with fixed color maps.  (gdevxcmp.h, gdevxcmp.c)
	- Some symbols were multiply defined with -DNOPRIVATE.  (gdevbit.c)
	- If a file specified a paper size, rather than using the default,
the G3/G4 fax output drivers didn't adjust the width to a legal one for fax
systems.  (gdevtfax.c)

Segregates the resource lists, for which warnings about casting of const to
non-const string types should be suppressed, into a separate file.
(devs.mak, gdevx.h, gdevxini.c, gdevxres.c)

Splits off the code related to color mapping for X Windows, for greater
understandability.  (devs.mak, gdevx.h, gdevxcmp.h, gdevx.c, gdevxcmp.c,
gdevxini.c)

Changes code slightly to remove warnings about signed/unsigned integer
constants.  (gdevxalt.c)

Changes code to remove unused variables.  (gdevx.c, gdevxalt.c)

Adds a user-contributed driver for the H-P LaserJet 4D.  (devs.mak,
gdevdjet.c)

Makes the bitcmyk driver reset its map_cmyk_color procedure dynamically
according to the depth, allowing more efficient execution in the 1- and
8-bit cases.  (gdevbit.c)

Adds a settable option, AdjustWidth, to control whether the fax-format
drivers (faxg*, tiffcrle, tiffg*) adjust the page width to legal fax values.
Its default value is 1 (do adjust).  (devs.mak, gdevtfax.c)

Adds a ForceMono parameter to the bitcmyk/bitrgb devices to implement a
special monochrome-in-CMYK mode requested by a customer.  (gdevbit.c)

Removes the TRIM_ and EXPAND_BITS_TO_BYTES options from the bit devices,
since they are no longer needed.  (gdevbit.c)

</pre><h3><a name="5.71_Fonts"></a>Fonts</h3><pre>

Changes the substitution mechanism for condensed / narrow fonts, so that the
PDF interpreter can use it.  (lib/gs_fonts.ps)

</pre><h3><a name="5.71_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The bind operator generated unaligned accesses and might not
operate reliably. (bug introduced in 5.70) (zmisc.c)
	- If the BuildChar procedure of a font included an image or
imagemask operator, charpath would (incorrectly) display the character.
(zimage.c)

Adds a bogus return statement to suppress a compiler warning.  (gs.c)

Changes code slightly to remove warnings about signed/unsigned integer
constants.  (store.h, ibnum.c)

Changes the build date format to %d-%02d-%02d.  (lib/gs_init.ps, imainarg.c)

Rearranges some code to add readline support.  (files.h, imain.c, zfileio.c,
ziodev.c)

Adds support for GNU readline, with several completion keys, contributed by
a user.  (int.mak, gs_rdlin.ps, gp_gnrdl.c)

Changes the font substitution machinery slightly so the PDF interpreter can
use it.  (lib/gs_fonts.ps)

</pre><h3><a name="5.71_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- In-line images caused a syntaxerror or stackunderflow.
(lib/pdf_draw.ps)
	- The font substitution mechanism didn't detect Condensed fonts.
(lib/pdf_font.ps)
	- The font substitution mechanism didn't use the intelligent
algorithm used for PostScript files.  (lib/pdf_font.ps)

Prints a message when substituting for a font on the basis of its
descriptor.  (lib/pdf_font.ps)

</pre><h3><a name="5.71_Streams"></a>Streams</h3><pre>

Adds an interface and default implementation for readline.  (srdline.h,
stream.h, stream.c)

</pre><h3><a name="5.71_Library"></a>Library</h3><pre>

Fixes problems:
	- A void procedure attempted to return a value.  (stream.c)
	- A pointer was declared with an extra *.  (gsmemory.c)
	- An argument would be stringified with traditional C.  (gdevdbit.c)
	- The check for validity of the CIE joint caches was wrong, leading
to incorrect output in some obscure cases.  (gsciemap.c)
	- A tiny rounding inaccuracy could cause an occasional blank line
when rendering adjacent images.  (gxipixel.c)
	- Some symbols were multiply defined with -DNOPRIVATE.  (gsptype2.h)
	- If a character was too large to be cached, it didn't use
anti-aliasing, even if TextAlphaBits was >1.  (gspaint.c)

Changes code slightly to remove warnings about signed/unsigned integer
constants.  (gsccode.h, gsmisc.c, gxcht.c)

Changes code to remove a warning about an unhandled case in a switch.
(gsstruct.h, gsmemory.c)

Changes code to remove unused variables.  (gxcindex.h, gdevdbit.c,
gdevprn.c, gxiscale.c)

Restructures the header files for the new text API, adding the SINGLE
options in text_params, enough new elements in text_enum to store all the
arguments of text_begin, and new elements in text_enum to hold results
returned by text_process.  This code is no longer "subject to [arbitrary]
change without notice", although it is still not very stable.  (gstext.h,
gxtext.h, gstext.c)

Changes code to remove warnings about uninitialized variables.  (gxipixel.c)

Changes the syntactic form of some constants yet again to suppress a
different set of compiler warnings.  (gxsample.c)

Adds a procedure to fix the charpath-in-BuildChar problem.  (gsimage.h,
gsimage.c, gsptype1.c)

Speeds up the handling of certain RasterOp cases for CMYK devices.
(gxdevice.h, gxdevmem.h, gdevdrop.c, gdevmem.c, gdevmr8n.c, gdevrops.c)

Adds a platform-specific interface for reading lines from stdin.  This is
intended primarily to support GNU readline.  (lib.mak, gp.h, gp_strdl.c)

</pre>

<hr>

<h2><a name="Version5.70"></a>Version 5.70 (internal) (2/20/99)</h2>

<p>
This fileset includes substantial changes to the interpreter in support of
making it fully reentrant (eliminating writable globals).

<h3><a name="5.70_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Interpreter)
	- The ref_stack structure has been renamed ref_stack_t, and has been
changed substantially.  Clients should now access all of its members, other
than the pointers to the current block, through the macros or procedures
defined in istack.h.  The STACK_LOOP_{BEGIN,END} macros have been removed.
	- The argument of context_state_load is no longer const.
	- Each file's table of operator definitions is now limited to 16
entries.  op_def_table[] no longer exists: use op_index_def() instead.
	- invalid_file_entry now has an associated VM space,
avm_invalid_file_entry, that must be used in constructing invalid file refs.
	- restore will now undo binding of pseudo-operators.  Attempting to
bind a local pseudo-operator into a global procedure will cause an
invalidaccess error.

</pre><h3><a name="5.70_Documentation"></a>Documentation</h3><pre>

Updates the driver documentation a bit.  It probably still includes a lot of
out-of-date text.  (doc/Drivers.htm)

Improves the problem reporting form to make it absolutely clear that test
data are required, and that the problem must be reproducible without using a
viewer.  (doc/Bug-form.htm)

Documents the -dDOINTERPOLATE switch.  (doc/Use.htm)

Documents the difference between public and tester releases, in connection
with making tester releases available to everyone.  (doc/New-user.htm)

Updates the list of history files.  (doc/Readme.htm)

Adds a questionnaire for people who want to be notified of new test
releases.  (doc/Readme.htm, doc/Tester.htm)

</pre><h3><a name="5.70_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- A ! was missing before an include.  (bcwin32.mak, msvc32.mak)
	- A trailing \ in some macro definitions was quoted incorrectly.
(bcwin32.mak, msvc32.mak)
	- An editing error prevented a makefile from working.  (bcwin32.mak)
	- The 16-bit spooler executable didn't reference its icon correctly.
(gs16spl.rc)
	- The Watcom makefiles had gotten badly out of date.  (watc.mak,
watclib.mak, wccommon.mak)
	- Some DEVICE_DEVS lines were too long for the shell to handle.
(openvms.mmk)
	- A space was missing before a colon.  (openvms.mmk)

Updates MSVC support to handle version 6.  (msvc32.mak)

Extends genconf to handle function types as well as image types, and changes
the output for image types.  (genconf.c)

Desupports the use of CONFIG for selecting between multiple configurations,
since parameterized output directories do this better.  (bcwin32.mak,
dvx-gcc.mak, gs.mak, int.mak, lib.mak, msvc32.mak, msvclib.mak, openvms.mak,
openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak,
watc.mak, watclib.mak, watcw32.mak)

Adds a -dDOINTERPOLATE switch to force Interpolate in all images.
(lib/gs_init.ps)

</pre><h3><a name="5.70_Utilities"></a>Utilities</h3><pre>

Rewrites viewpcx to eliminate dependence on a special filter.
(lib/viewpcx.ps)

</pre><h3><a name="5.70_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The [e]pswrite and pdfwrite drivers wrote out clipping paths using
the winding number rule even if the path had been set with eoclip.
(gdevpdfd.c, gdevvec.c)
	- Some occurrences of ushort should have been gx_color_value.
(gdevpbm.c)
	- A comment was accidentally left outside comment quotes.
(gdev3852.c)
	- There was a char/byte mismatch not covered by a cast.
(gdevdcrd.c)
	- There were still some references to the 'huge' keyword, which has
been superseded by FAR.  (gdevwdib.c)
	- Some obsolete references to which_colors hadn't been removed.
(gdevwdib.c)
	- The [e]pswrite driver produced incorrect output for a curveto or
closepath followed by a lineto and then a moveto.  (gdevps.c)
	- The [e]pswrite driver could produce incorrect output for paths
ending with a lineto.  (gdevps.c)
	- The name paper_sizes was used both by a driver and by other code,
causing a problem when building with -dNOPRIVATE.  (gdevclj.c)

Consolidates the X error handling statics into a structure.  (gdevxini.c)

Updates the pdfwrite driver to reflect the addition of state to the
ASCII85Encode filter.  (gdevpsdf.c)

Adds a user-contributed driver for the Lexmark 5700 printer (black-and-white
only).  (contrib.mak, gdevlxm.c)

Updates the mswinpr2 driver with a new, user-contributed one that includes
interaction with the user.  (gdevwpr2.c)

</pre><h3><a name="5.70_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- When TrueType support was present, the FONTPATH scanner didn't
recognize TrueType fonts whose 'type' was "true" rather than the documented
<00 01 00 00>.  (lib/gs_ttf.ps)
	- When DEBUG was set, loading a TrueType font could cause an
/undefined error.  (lib/gs_ttf.ps)

</pre><h3><a name="5.70_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Local (pseudo-)operators could get bound into global procedures
with 'bind', causing dangling references.  Attempting this now causes an
invalidaccess error.  Fixing this also required making restore undo binding
of pseudo-operators.  (zmisc.c)
	- A harmless dictfull error occurring during language level
switching caused an error.  (zmisc2.c)
	- If given a closed input file, flushfile caused an error, rather
than doing nothing.  (zfileio.c)

Renames the ref_stack structure as ref_stack_t, and factors it so that the
parts set only at initialization are separated from the dynamic parts, in
support of moving the stacks from static to dynamic storage.  (icstate.h,
idebug.h, idstack.h, iestack.h, iostack.h, iparam.h, iparray.h, istack.h,
idebug.c, interp.c, iparam.c, istack.c, zcontext.c, zpacked.c, zvmem.c)

Moves the dynamic part of the stacks in-line in the context structure; gets
rid of the statically allocated stacks.  (dstack.h, estack.h, icontext.h,
icstate.h, idstack.h, iestack.h, interp.h, iostack.h, ostack.h, icontext.c,
iinit.c, interp.c, zcontext.c)

Packages the dictionary lookup statistics in a structure, like the other
statistics.  (idict.c)

Changes from dynamic to static initialization of the function type table.
(int.mak, ifunc.h, iconf.c, zfunc.c, zfunc0.c, zfunc3.c)

Removes the PCXDecode filter.  (zfilterx.c)

Removes more writable statics.  (int.mak, btoken.h, files.h, icstate.h,
igstate.h, ipacked.h, iscan.h, icontext.c, imain.c, iscan.c, iscanbin.c,
zbseq.c, zcolor2.c, zcontext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c,
zpacked.c)

Changes the representation of the operator table to avoid allocating a
dynamic copy.  This introduces a limit of 16 entries per definition set.
(int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c,
zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c)

Includes the ASCII85Decode filter in all configurations, for simplicity.
(iscan.c, zfdecode.c)

Makes the invalid file reference point to a static object.  (files.h,
icontext.c, zfile.c, ziodev.c)

Changes all dictfull error returns from the dictionary code to use
return_error.  This should have been done a long time ago!  (idict.c)

Increases the predefined size of systemdict a little more because .upp files
may define a lot of new entries.  (iinit.c)

Adds a few more interpreter statistics.  (interp.c)

</pre><h3><a name="5.70_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Images never closed the data stream, placing a heavy load on the
garbage collector to clean up streams and stream states.  (lib/pdf_draw.ps)
	- Streams stored on external files didn't work.  (lib/pdf_base.ps)

Reorganizes code slightly to allocate less memory for in-line images.
(lib/pdf_draw.ps)

Speeds up some common operations a little.  (lib/pdf_base.ps)

</pre><h3><a name="5.70_Streams"></a>Streams</h3><pre>

Removes the PCXDecode filter.  (spcxx.h [deleted], spcxd.c [deleted])

Changes the name of a variable for greater clarity.  (stream.c)

Splits off the ASCII85Decode filter into a separate file, since it turns out
to be convenient to include it in all configurations.  (sa85d.h, sa85x.h,
sa85d.c, sfilter2.c)

Makes an initialization entry point available for non-heap-allocated
streams.  (stream.h, stream.c)

Changes the ASCII85Encode filter so it always produces lines of at most 80
characters, not counting the EOD marker.  THIS IS A NON-BACKWARD-COMPATIBLE
CHANGE, because this filter now needs a state structure, which it didn't
before.  (sa85x.h, sfilter2.c)

</pre><h3><a name="5.70_Library"></a>Library</h3><pre>

Fixes problems:
	- Reference counting of graphics state elements was wrong when
creating multiple contexts, causing memory corruption. (bug probably
introduced in 5.68) (gsstate.c)
	- If CIE joint caches were created because the reference count of
the existing caches was >1, the new caches weren't initialized correctly.
(bug introduced in 5.60, found by Ray Johnston.)  (gscie.c)
	- If Margins are set so that part of the default clipping region
lies outside the ((0,0),(width,height)) device coordinate space, the fast
case of images could cause a memory access error.  (gxifast.c)
	- In the case of a halftone with more bits than levels,
gx_check_tile_cache could incorrectly return false, causing images to render
more slowly than they should.  (gzht.h, gxht.c)
	- There was a const mismatch between an argument and the formal
parameter.  (gdevprn.h, gdevprn.c, gxclread.c)
	- An error in the definition of st_imager_state_num_ptrs caused the
garbage collector to omit marking one pointer in imager states, possibly
causing memory corruption.  (gxistate.h)
	- The bbox device, used with no target, didn't properly handle
images where more data was provided than needed.  (gdevbbox.c)

Removes any pretense of supporting multiple threads in a single-threaded
environment.  Dummy synchronization primitives, however, are still provided.
(gp_nsync.c)

Removes more writable statics.  (gximage.h, gxi12bit.c, gxino12b.c,
gxipixel.c)

Changes the handling of image types, and adds similar handling for function
types.  (gscdefs.h, gconf.c)

Consolidates the gs_std* files into a structure.  (gsio.h, gsmisc.c)

Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono
operations.  We could do the same for the other operations if we wanted.
(gxclip.c)

Identifies this fileset as a tester release.  (gscdef.c)

</pre>

<hr>

<h2><a name="Version5.69"></a>Version 5.69 (internal) (2/4/99)</h2>

<p>
This incremental fileset fixes minor compilation problems, as well as many
problems with driver-based CRDs (not used by PostScript or PDF).

<h3><a name="5.69_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The OpenVMS makefile had not been updated properly to reflect the
division of files into subdirectories.  (openvms.mak)
	- A space was missing before a :.  (devs.mak)
	- The MMK makefile had not been updated to reflect the renaming of
the psm[raw] devices to pksm[raw].  (openvms.mmk)

Changes the default name of the build directory for the library test program
from debugobj to libobj, so that one can work with both library and
interpreter builds without interference.  (ugcclib.mak)

Adds -fno-builtin to the gcc switches, to detect failure to declare
functions like memcpy, at a small cost in performance.  (ugcclib.mak,
unix-gcc.mak)

</pre><h3><a name="5.69_Utilities"></a>Utilities</h3><pre>

Makes a couple of minor fixes to ansi2knr, suggested by users.  (ansi2knr.c)

Updates ps2ai.ps with an improved version from its author.  (lib/ps2ai.ps)

</pre><h3><a name="5.69_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The 32-bit CMYK "async" BMP driver was declared incorrectly as a
non-async device.  (gdevbmpa.c)
	- Some #includes were missing, because gcc didn't warn about
failures to declare certain standard functions.  (x_.h, gdevdcrd.c, gdevx.c)
	- The PC frame buffer device still referred to _ss and near.
(gdevpcfb.c)
	- The [e]pswrite driver didn't handle bitmaps with a non-zero X bit
offset correctly.  (gdevps.c)
	- The pdfwrite driver wrote all clipping paths with the winding
number rule, even if they were established by eoclip.  (gdevpdfd.c)
	- "Vector" drivers wrote all clipping paths with the winding number
rule, even if they were established by eoclip.  (gdevvec.c)

Adds the CRDName parameter to the sample driver-based CRD.  (gdevdcrd.c)

Tweaks the sample driver-based CRD to make it a more realistic (closer to
the PostScript default).  (gdevdcrd.c)

Adds the sample driver-based CRD to the modified X drivers.  (devs.mak,
gdevxalt.c)

</pre><h3><a name="5.69_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Some #includes were missing, because gcc didn't warn about
failures to declare certain standard functions.  (zchar1.c)
	- Driver CRDs were not supported properly.  (zcrd.c, lib/gs_lev2.ps)

Changes some code because non-int switch expressions are not handled
correctly in pre-ANSI C.  (igcref.c, zdevice.c)

Adds the ability to set the orientation of zero-length "dots".  (zgstate.c)

Adds comments on an alternative shallow-binding design.  (dstack.h)

Changes the threshold for repeatedly rescanning change lists so that it is
based on the cumulative amount of rescanning and not the amount in a single
pass.  (isave.c)

</pre><h3><a name="5.69_Streams"></a>Streams</h3><pre>

Changes some code because non-int switch expressions are not handled
correctly in pre-ANSI C.  (sfilter1.c)

</pre><h3><a name="5.69_Library"></a>Library</h3><pre>

Fixes problems:
	- Some casts to (gx_device *) were missing.  (gschar.c)
	- Some #includes were missing, because gcc doesn't warn about
failures to declare certain standard functions.  (gdevdgbr.c, gscie.c,
gsmatrix.c, gxshade1.c)
	- gxclread.c now needs gdevprn.h to declare certain procedures.  We
tried very hard to make the command list machinery not depend on anything
related to printer devices, but at this point we have not succeeded.
(gxclread.c)
	- For CRDs set by library clients, the is_identity flags in the
caches were set incorrectly, producing incorrect output.  (gscie.h, gscie.c,
gscrd.c, gscrdp.c)
	- For CRDs set by library clients, the EncodeABC and RenderTable T
procedures were sampled incorrectly.  (gsciemap.c, gscrd.c)
	- The interpreter tried to sample the TransformPQR functions in the
PostScript CRD even for driver CRDs.  (gscie.h, gscie.c)
	- Library assistance was needed for the interpreter to support
driver CRDs properly.  (gscrdp.h, gscrdp.c)
	- The procedures that accessed cached CIE values didn't round the
index, so accessing already-cached values could wipe out the cache.
(gscie.c)
	- The procedure that accessed cached RenderTable.T values simply
wasn't implemented.  (gscrd.c)

Adds an "if (1)" to a macro to suppress "statement not reached" warnings
from stupid compilers.  (gsmemlok.c)

Changes the syntactic form of some constant tables to suppress
signed/unsigned warning messages.  (gsbitops.c, gxsample.c)

Changes some switch statements to if/else because non-int switch expressions
are not handled correctly in pre-ANSI C.  (gdevmr8n.c, gxdcolor.c)

Adds the ability to set the orientation of zero-length "dots".  (gsline.h,
gxline.h, gsline.c, gsstate.c, gxstroke.c)

Adds an allocator state variable to support the change in the rescanning
algorithm.  (gxalloc.h)

</pre>

<hr>

<h2><a name="Version5.68"></a>Version 5.68 (internal) (1/29/99)</h2>

<p>
This fileset implements PatternType 2 (gradient fill) Patterns.  All
significant PostScript LanguageLevel 3 features are now implemented, except
for DeviceN color spaces.  We have also verified that the MMK script for
OpenVMS also works with MMS.

<p>
Note that there are significant non-backward compatible changes to memory
management for device instances: we are sorry about this, but just as with
paths in 5.22, we had to fix this design problem at some point.

<h3><a name="5.68_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- A new makefile, unix-aux.mak, must be included in all Unix
top-level makefiles.  (It is included in the ones we distribute.)
unixtail.mak is renamed unixlink.mak.

(Library)
	- The names of the anti-aliasing parameters in the device color_info
structure have been changed.
	- Dummy definitions for PC-specific C keywords (_cs, _ds, _ss, near,
far, huge) are no longer provided: these keywords should be removed from
non-PC-specific code.
	- The names of the alignment_mod, ptr_le, ptr_lt, ptr_ge, ptr_gt,
and ptr_between macros have been changed to upper case (ALIGNMENT_MOD etc.)
	- gs_make_null_device now takes an additional argument.
	- The ccolor member of a gx_device_color is no longer inside a
substructure.
	- Clients now must initialize Pattern templates with
gs_patternN_init, where N is the PatternType (normally 1), before filling in
the members.
	- gs_pattern_instance_common_t is renamed gs_pattern_instance_t;
gs_pattern_instance is renamed gs_pattern1_instance.
	- To set the target of a forwarding device, you must now use
gx_device_set_target rather than setting the target member directly.
	- Memory management for devices has changed substantially, and in a
subtle way.  If you have code that calls the library, please read the
documentation in gxdevcli.h.
	- Callers of the driver create_buf_device procedure must always call
it through gdev_create_buf_device, never directly.
	- For composite and CID-keyed fonts, the character code returned by
gs_show_current_char and gs_kshow_previous_char is now the full multi-byte
character code rather than just the last byte of the code.
	- gdev_cmap_set_method has been replaced by a device parameter,
ColorMappingMethod.
	- The CRD pointer parameter for param_write_cie_render1 and
param_put_cie_render1 is no longer const.

</pre><h3><a name="5.68_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The documentation for resize_object and resize_string didn't allow
the new size to be the same as the old size, didn't describe what data was
preserved, and didn't guarantee to return the same object if the new size
was the same as the old size.  (gsmemraw.h, gsmemory.h)
	- The documentation for the value returned by the internal
.getmetrics32 operator was incorrect.  (zchar32.c)
	- The documentation for the special color mapping device didn't say
that the caller had to call gs_setdevice_no_init to update graphics states.
(gdevcmap.h)

Notes that OPENVMS.MMK works with both MMK and MMS.  (doc/Make.htm)

Adds a note to the C style guide about nested vs. multi-branch 'if'
statements.  (doc/C-style.htm)

Notes that the multi-threaded ("async") drivers require libc version 6 or
higher under Linux.  (doc/Make.htm)

Notes additional Irix/MIPSpro combinations that compile idict.c incorrectly,
and gives a workaround.  (doc/Make.htm)

Adds a couple more acknowledgements.  (doc/Helpers.htm)

Documents the new -Z^ switch.  (doc/Use.htm)

Documents the new rules about memory management for device instances
(gxdevcli.h, gxdevice.h)

</pre><h3><a name="5.68_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The "async" BMP devices were accidentally included in the default
list for Unix, leading to a requirement for the POSIX thread package, which
is not available on all systems.  (unix-gcc.mak)
	- There was a minor typo in the new MMK script.  (openvms.mmk)
	- The MMK script redefines macros, which MMS does not allow.
(openvms.mmk)
	- The gcc version test used gcc rather than $(CC) for the compiler
name.  (unix-gcc.mak)
	- There was a minor typo in the pcx2up device makefile entry.
(devs.mak)
	- Some commands in the Unix install rules referenced sh rather than
$(SHELL).  (unixinst.mak)

Makes (dummy) in-RIP trapping an optional feature, and removes it from the
default configuration.  (int.mak, lib.mak)

Splits off the build rules for the Unix auxiliary programs, so they can be
shared between interpreter and library configurations.  (ugcclib.mak,
unix-aux.mak, unix-gcc.mak, unixansi.mak, unixtail.mak [deleted],
unixlink.mak, unixtrad.mak)

Adds the bitcmyk device to the list of devices for the library test program.
(ugcclib.mak)

</pre><h3><a name="5.68_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- ansi2knr didn't handle occurrences of '/' or quoted strings inside
an argument list correctly.  (ansi2knr.c)

At the suggestion of a GNU person, makes ansi2knr check for output errors.
(ansi2knr.c)

</pre><h3><a name="5.68_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- Setting the resolution on the SPARCprinter didn't work.
(gdevsppr.c)
	- Even in PDF 1.1 compatibility mode, the PDF writer used a
predictor to compress images.  (gdevpsdi.c)
	- Reference counting for devices was not implemented consistently.
(gdevxalt.c)
	- gcc (again) missed some static / non-static inconsistencies.
(gdevbmpa.c, gdevifno.c)

Removes all remaining uses of segment identifiers (_cs, _ds, _ss) from
non-PC-specific code.  (gdev3852.c, gdevcdj.c, gdevhl7x.c, gdevl256.c,
gdevmgr.c, gdevsgi.c, gdevsppr.c, gdevvglb.c)

Removes all remaining uses of the 'near' keyword from non-PC-specific code.
(gdevcd8.c, gdevcdj.c, gdevcgm.c)

Changes uses of round_up to ROUND_UP.  (gdevmsxf.c, gdevpcx.c, gdevpx.c,
gdevxxf.c)

Adds user-contributed support for 16-bit displays to the MS Windows driver.
(gdevmswn.c, gdevwdib.c)

Adds a user-contributed driver (sunhmono) for the Harlequin variant of 1-bit
Sun raster files.  We expect to add other varieties of Sun Raster file
eventually as well.  (contrib.mak, gdevsunr.c)

Adds a user-contributed driver (fs600) for the Kyocera FS-600 laser printer.
(devs.mak, gdevdjet.c)

Replaces the sample device CRD with a slightly hacked version of the default
PostScript CRD, and moves it to a separate file for greater flexibility in
testing.  (gdevdcrd.h, gdevbit.c, gdevdcrd.c)

Adds standard and "async" 32-bit CMYK BMP drivers (even though this is
outside the published BMP format).  (gdevbmp.c, gdevbmpa.c)

Changes the names of the separated-CMYK PBM drivers from psm to pksm, to be
more descriptive.  (devs.mak, openvms.mak, unix-gcc.mak, gdevpbm.c)

</pre><h3><a name="5.68_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- On MS Windows and OS/2, "(%stdin) (r) file bytesavailable" caused
a crash.  (gp_msio.c, gp_os2.c)

</pre><h3><a name="5.68_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- TrueType fonts with fewer glyph names in post than entries in loca
caused an error.  (gs_ttf.ps)

Adds additional tracing to the TrueType font loader.  (lib/gs_ttf.ps)

Per Adobe, adds the Euro symbol under the name /Euro (capitalized) to
various built-in Encodings.  (lib/gs_mro_e.ps, lib/gs_pdf_e.ps,
lib/gs_sym_e.ps, lib/gs_wan_e.ps)

</pre><h3><a name="5.68_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- An extraneous file got left in the fileset.  (lib/pdf_main.ps.sav
[deleted])
	- The number of required arguments for .pathbbox was incorrectly
specified as 0 rather than 1.  (zpath1.c)
	- Opening a ReusableStreamDecode filter with a string source and no
decoding filters left an extra value on the stack.  (lib/gs_ll3.ps)
	- Type 32 fonts sometimes didn't display the characters, or
displayed them offset.  (lib/gs_typ32.ps)
	- In LanguageLevel 3, copypage still called EndPage with 1 rather
than 0.  (lib/gs_init.ps)
	- The HalftoneName parameter was missing from the trapping parameter
set.  (lib/gs_ll3.ps)
	- CMap character entries were processed in the wrong order.
(lib/gs_cmap.ps)
	- CMap'ed non-CID fonts didn't work properly, because they called
BuildChar with the original character code rather than BuildGlyph with the
mapped glyph.  (zchar.c)
	- Using an out-of-range CID value with a CIDFont caused an error
rather than substituting a notdef.  (lib/gs_cidfn.ps)
	- CIDFontType 0 fonts with a GlyphDirectory didn't fall back to the
indexed character data if the CID wasn't in the GlyphDirectory.
(lib/gs_cidfn.ps)
	- CIDFontType 0 fonts didn't substitute a notdef at all.
(lib/gs_cidfn.ps)

Changes uses of round_up to ROUND_UP.  (igcstr.c)

Updates clients for the object-oriented changes to Patterns.  (zcolor2.c,
zpcolor.c)

Implements the rest of PatternType 2.  (ipcolor.h, zpcolor.c, zshade.c)

Makes in-RIP trapping an optional feature.  (lib/gs_ll3.ps, lib/gs_trap.ps)

Updates clients for the change in gs_show_current_char.  (zcfont.c, zchar.c)

Changes the dict_*_param macros to procedures, for easier tracing.  This
includes a change in the return value of dict_matrix3_param.  (icie.h,
zcie.c, zcrd.c)

</pre><h3><a name="5.68_Streams"></a>Streams</h3><pre>

Changes uses of round_up to ROUND_UP.  (scfd.c, scfe.c)

</pre><h3><a name="5.68_Library"></a>Library</h3><pre>

Fixes problems:
	- Once again, gcc failed to flag a static procedure declaration
followed by a non-static definition.  (gdevprna.c, gximage3.c)
	- Anti-aliasing no longer worked for the x11alpha device.  To fix
this, we factored out the anti-aliasing information in the
gx_device_color_info structure.  (bug introduced in 5.65) (gxdevcli.h,
gdevabuf.c, gdevdflt.c, gdevxalt.c, gsdparam.c)
	- An empty declaration generated an extraneous semicolon.
(gxclip2.h)
	- Some macros that generated an if-else construct didn't enclose it
in BEGIN/END, possibly leading to incorrect parsing.  (gxobj.h)
	- A comment was missing a closing */.  (gxpageq.h)
	- The handling of the phase in Pattern filling was broken again.  We
probably broke it with the "fix" introduced in 5.24.  (gxp1fill.c)
	- Looking up an undefined IODevice name caused a memory access
error.  (bug claimed to be fixed in 5.24) (gsiodev.c)
	- The null device installed for stringwidth didn't copy the color
mapping information from its target, causing confusion if the current device
was a pattern accumulator.  (gxdevcli.h, gxdevice.h, gschar.c, gsdevice.c,
gxpcmap.c)
	- mem_mapped2_copy_mono produced incorrect results for byte-aligned
rectangles exactly 1 byte wide (fix from John D.), and could also access
data 1 byte beyond the end of each source row.  (gdevm2.c)
	- In the case of a masked image or a RasterOp involving a Pattern,
the garbage collector could fail to follow a pointer, possibly causing
memory corruption.  (gsdcolor.h)
	- Assigning a double value to a float variable caused an infinite
recursion.  (gxshade1.c)
	- Failure to detect when the region being filled had become very
small caused excessive recursion.  (gxshade4.c)
	- The default implementations of resize_object didn't always return
the old object if the old and new sizes were the same.  (gsalloc.c,
gsmalloc.c)
	- The left side bearing of TrueType characters was sometimes
calculated incorrectly.  (gstype42.c)
	- The TrueType renderer disregarded the left side bearing values.
We aren't sure that the change we made is right, but it seems to produce
better output.  (gstype42.c)
	- Shadings used the first Decode entry for both X and Y values.
(gxshade.c)
	- Function-based Shadings sometimes omitted part of their output.
(gxshade1.c)
	- Function-based Shadings didn't access 4-bit-per-sample data
correctly.  (gsfunc0.c)
	- The malloc/free-based allocator didn't finalize objects when
freeing them.  (gsmalloc.c)
	- Reference counting for device instances was not implemented even
close to consistently.  THIS IS THE BUG TAIL WE WORRIED ABOUT IN 5.24.
(gxdevcli.h, gxdevice.h, gdevbbox.c, gdevcmap.c, gdevmem.c, gdevnfwd.c,
gdevplnx.c, gdevprn.c, gdevrops.c, gsalphac.c, gschar.c, gsdevice.c,
gsropc.c, gxidata.c, gxmclip.c, gxipixel.c, gxpcmap.c)
	- Some device structure definitions failed to include finalization.
(gdevmrop.h, gsstruct.h, gxclip2.h, gxcpath.h, gxdevmem.h, gxmclip.h)
	- Reference counting for the device halftone wasn't correct in the
band rasterizer.  This must be a recently introduced bug, because otherwise
banding couldn't have worked.  (gxclrast.c)
	- When banding, high-level images that extended off the page in the
Y direction caused memory access errors.  (gxclimag.c)
	- [a]widthshow didn't use the correct value for comparison for
composite fonts with FMapType 9 (CMap).  (gxchar.h, gschar.c, gschar0.c,
gsfcmap.c)
	- The special color mapping device only worked for
device_cmap_monochrome.  (gdevcmap.h, gdevcmap.c)
	- The definition of gs_memory_locked_release was wrong.
(gsmemlok.h, gsmemlok.c)
	- An opaque structure definition (for gx_device) was missing,
creating a need for an otherwise unnecessary #include. (gscrdp.h)
	- Certain cached values weren't computed when needed.  Fixing this
required removing 'const' from a parameter type.  (gscrdp.h, gscrdp.c)
	- gxclmem.c #included "gsmalloc.h", which is no longer needed.
(gxclmem.c)
	- Memory management for device halftones was incorrect, leading to
objects being freed twice or other memory corruption during band rendering.
(gzht.h, gsht.c, gsstate.c, gxclrast.c, gxistate.c)
	- Setting a driver-originated CRD didn't invalidate cached
information, leading to incorrect output.  (gscrdp.c)
	- A consistency check on driver-originated CRDs was incorrect,
causing valid CRDs to be rejected.  (gscrdp.c)

Removes dummy definitions for old PC-specific language extensions.
(stdpre.h)

Removes uses of the PC-specific 'huge' keyword.  (gdevmem.c)

Removes uses of the PC-specific 'near' keyword.  (gdevabuf.c, gdevbbox.c)

Changes the pointer comparison macros to upper-case names.  (gxalloc.h,
stdpre.h, gsalloc.c, gsmisc.c)

Changes the alignment_mod macro to upper case.  (stdpre.h, gdevdbit.c,
gdevdgbr.c, gsparams.c, gxifast.c)

Changes the round_up and round_down macros to upper case.  We retain the
lower-case definitions for the sake of the PCL code.  (gxfcache.h, gxobj.h,
stdpre.h, gdevalph.c, gdevmem.c, gsalloc.c, gspath1.c, gxccman.c,
gxclimag.c, gxifast.c)

Makes Pattern colors more object-oriented, to support PatternType 2,
splitting gsptype1.c off from gspcolor.c in the process.  (gsccolor.h,
gsdcolor.h, gspcolor.h, gsptype1.h, gsptype2.h, gxcolor2.h, gxpcolor.h,
gspcolor.c, gsptype1.c, gxpcmap.c)

Implements PatternType 2.  (gspcolor.h, gsptype1.h, gsptype2.h, gxcolor2.h,
gxpcolor.h, gxshade.h, gspcolor.c, gsptype2.c)

Changes the interface to shaded filling to make filling rectangles more
efficient.  (gsshade.h, gscolor3.c, gsshade.c)

Improves some macros that didn't handle expressions as arguments.
(gsrect.h)

Improves tracing of loading the CIE caches.  (gscie.c)

Cleans up some formatting, and replaces some floating point divides with
multiplies.  (gstype42.c)

Adds default values for the MaxSeparations (1), Separations (false), and
SeparationColorNames (empty array) device parameters.  (gsdparam.c)

Adds -Z^ to trace reference counting.  (gsrefct.h, gsmemory.c)

Changes the definition of finalization so that finalization procedures *can*
assume that objects they reference still exist.  This is necessary so that
forwarding devices can decrement the reference counts of their targets.
Fortunately, all invocations of finalization (in 'restore', the garbage
collector, and freeing) already have this property.  (gsstruct.h)

Extends CRD initialization so that cached values may be copied from an
existing CRD.  (gscrd.h, gscrd.c)

Adds a wrapper to the driver create_buf_device procedure to increment the
reference count, so that buffer devices can be freely used in graphics
states and as a target.  (gxdevcli.h, gdevprn.c, gxclread.c)

Removes recursion from the shading rendering code, in preparation for making
it interruptible (required for DeviceN color mapping callouts).
(gxshade4.h, gxshade1.c, gxshade4.c, gxshade6.c)

Monitor-locks the default allocator based on the C heap, if multi-threading
is being supported at all.  (lib.mak, gsmalloc.h, gsmalloc.c)

Speeds up the implementation of mem_true32_copy_mono for the common case.
(gdevm32.c)

Adds a (disabled) option for defining gx_color_index as a pointer or a
structure, for testing.  (gxcindex.h)

Makes the library test program test the special color mapper more
thoroughly.  (gslib.c)

</pre>

<hr>

<h2><a name="Version5.67"></a>Version 5.67 (internal) (1/8/99)</h2>

<p>
This fileset adds more PostScript LanguageLevel 3 capability:
<ul>
<li>	- Complete implementation of shfill.
<li>	- Most of the expanded CMap capabilities.
<li>	- ReusableStreamDecode filter.
<li>	- FontType 2 for CFFs (formerly done in an incompatible way).
<li>	- HalftoneMode user parameter.
<li>	- HalftoneTypes 6, 10, and 16.
<li>	- ImageType 3 images.
<li>	- UseCIEColor device parameter.
</ul>

<p>
It also adds a build script for MMK (which may also work with MMS) under
OpenVMS, and Uli Wortmann's drivers for the H-P color inkjet printers.
Among other bug fixes, it eliminates about half the "possibly uninitialized
variable" compiler warnings.

<h3><a name="5.67_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- The default UCR and BG functions are now f(k) = k rather than f(k)
= 0.
	- The set_[d]fmul2fixed_vars macros have been removed from
gxfixed.h.  Clients must use the new CHECK/FINISH_[D]FMUL2FIXED_VARS macros.
(We don't think there are any such clients outside Ghostscript itself.)
	- The internal procedure gx_cpath_intersect_slow is replaced with
gx_cpath_intersect_path_slow, with different arguments.
	- gs_color_space_type_Device{Gray,RGB,CMYK} are now private.
Clients should use the gs_cspace_Device{Gray,RGB,CMYK} access procedures in
gscspace.h to obtain device color space objects.
	- FontType 2 was renamed from ft_CFF to ft_encrypted2.
	- FontType 2 fonts now have FontType = ft_encrypted2, rather than
ft_encrypted with CharstringType = 2.  CharstringType no longer exists.
	- Type 1 / Type 2 fonts now have an additional member, interpret,
that must be initialized.
	- gdev_prn_render_lines and gdev_prn_get_band_buffer replace
gdev_prn_locate_overlay_buffer and gdev_prn_get_overlay_bits.  "Async"
drivers must now use the new procedures to implement partial-page rendering
recovery.
	- Clients that pass ImageType 3 images where the mask and the image
are not scaled identically, or that call image_plane_data without knowing
the image type, must now call gs_image_planes_wanted or
gx_image_planes_wanted in order to find out which subset of the data planes
to pass to the next call of image_plane_data.
	- gx_image_enum_common_init now takes slightly different arguments.
	- gs_imager_state_initialize now initializes the entire imager
state, including halftone, dev_ht, and ht_cache.
	- The argument lists for the plane_data and end_image procedures in
image enumerators have changed.

</pre><h3><a name="5.67_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The 5.66 News mentioned the non-existent WAITFILE macro, and had
another minor typo.  (doc/News.htm)
	- The URL for the user-contributed H-P 850c driver was incorrect.
(doc/Devices.htm, contrib.mak)
	- The documentation for the driver image API had gotten out of date.
(doc/Drivers.htm)

Greatly improves documentation for the page queue.  (from Artifex 5.50c)
(gxpageq.h)

Documents the fact that Solaris builds now need -lposix4 for &lt;semaphore.h&gt;.
(doc/Make.htm)

Adds a stack status comment in .pdfshow.  (lib/gs_pdfwr.ps)

Documents the new -Z` debugging switch.  (doc/Use.htm)

Touches up some formatting in the C style guide, and adds a mention of the
space-before-: rule for makefiles.  (doc/C-style.htm)

Adds documentation for the new H-P 8xx drivers.  (doc/Devices.htm)

Splits off news for versions 5.0 - 5.50 into a separate file.
(doc/History5.htm)

</pre><h3><a name="5.67_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- On MS Windows platforms, the DLL object file wasn't created in the
proper directory.  (from Artifex 5.55) (msvc32.mak)
	- cfonts.mak didn't have no-op commands for rules that didn't
contain any commands.  (cfonts.mak)
	- The version number for libpng was different from libpng's own
version numbering system.  (libpng.mak)
	- Solaris builds now need -lposix4 for &lt;semaphore.h&gt;.
(unix-gcc.mak, unixansi.mak, unixtrad.mak)
	- The makefiles redefined a number of macros, which MMS doesn't
allow.  (bcwin32.mak, gs.mak, int.mak, lib.mak, libpng.mak, msvc32.mak,
openvms.mak, openvms.mmk, unix-gcc.mak, unixansi.mak, unixtrad.mak,
version.mak)

Changes cp.bat and rm.bat to eliminate "File not found" messages.  (from
Artifex 5.55) (cp.bat, rm.bat)

Changes all platform-independent makefiles to add a space before the : that
separates the targets from the dependencies, to allow the makefiles to be
used with MMS/MMK.  (cfonts.mak, contrib.mak, devs.mak, gs.mak, int.mak,
jpeg.mak, lib.mak, libpng.mak, zlib.mak)

Adds a script for compiling Ghostscript on OpenVMS systems with MMK.  This
has not been tested extensively.  (doc/Make.htm, openvms.mmk)

Changes the set of optimization switches for MSVC++.  We believe the new
switches produce working executables, which /O2 didn't.  (msvc32.mak,
msvccmd.mak)

Updates the default expected libpng version to 1.0.2.  (bcwin32.mak,
dvx-gcc.mak, msvc32.mak, msvclib.mak, openvms.mak, os2.mak, ugcclib.mak,
unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watclib.mak,
watcw32.mak)

</pre><h3><a name="5.67_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- Default scaling in viewcmyk.ps was broken.  (lib/viewcmyk.ps)

Updates pdf2dsc.ps with a newer (user-contributed) version that generates
DocumentMedia and PageMedia comments.  (lib/pdf2dsc.ps)

</pre><h3><a name="5.67_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- An int * was provided where a uint * was required.  (gdevpbm.c)
	- ps2ps -dLanguageLevel=1 generated invalid output.  (gdevps.c)
	- The X drivers crashed on gray-scale displays.  (bug probably
introduced in 5.61)  (gdevx.c)
	- The width and height of the cljet5 device were interchanged.
(from Artifex) (gdevclj.c)
	- The PDF writer didn't clip cached characters properly.  (bug
introduced somewhere between 3.51 and 5.10) (gdevpdfi.c)
	- For stroked paths with a non-uniform CTM, the PDF writer could
emit coordinates larger than 32K, which Acrobat handles incorrectly.
(gdevpdfd.c)

Restructures some code to suppress bogus "possibly uninitialized variable"
warnings.  (gdevpdfm.c, gdevps.c)

Adds some unnecessary initializations to suppress bogus "possibly
uninitialized variable" warnings.  (gdevpbm.c, gdevpdfd.c, gdevvec.c,
gdevxalt.c)

Rewrites the (contributed) X11 xfont code to remove code duplication.
(gdevx.h, gdevx.c, gdevxini.c, gdevxxf.c)

Adds a user-contributed driver for the H-P LaserJet 3100 with H-P software.
(gdevmeds.h, gdevl31s.c, gdevmeds.c)

Adds a user-contributed option for 600 dpi output on H-P DesignJet
650C-compatible printers.  (gdevcdj.c)

Removes unnecessary references to device color spaces.  (gdevpdfi.c)

Changes the [e]pswrite and pdfwrite drivers to use EndOfBlock rather than
Rows for CCITTFax image encoding, producing slightly smaller output.
(gdevpsdf.c)

Changes the sample async driver to use gdev_prn_render_lines and
gdev_prn_get_band_buffer instead of locate_overlay_buffer and
get_overlay_bits.  Unfortunately, because "async" memory management is
broken, we have no way to test the code.  (gdevbmpa.c)

Updates clients for the change in gx_image_enum_common_init.  (gdevpdfi.c,
gdevvec.c)

Adds Uli Wortmann's drivers for the H-P color inkjet printers.
(contrib.mak, gdevcd8.c)

Adds mode 9 compression to the PCL printer utilities.  (gdevpcl.h,
gdevcdj.c, gdevpcl.c)

Updates implementors for the change in the plane_data and image_end image
processing procedures.  (gdevpdfi.c, gdevps.c, gdevpx.c)

</pre><h3><a name="5.67_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- The PFM files for URW Grotesk and Antiqua had some extraneous ^M
characters inserted before ^J characters.  (fonts/u003043t.pfm,
fonts/u004006t.pfm)
	- CID-keyed fonts didn't handle GlyphDirectory correctly.
(lib/gs_cidfn.ps)
	- CIDFontType 0 fonts with 0-length Subrs caused an error.
(lib/gs_cidfn.ps)
	- Malformed TrueType fonts with overlapping tables (which are
nevertheless apparently acceptable to Windows) caused an error.
(lib/gs_ttf.ps)
	- The Hershey font repairs documented in fileset 5.24 apparently
never happened: the makeher.ps program was fixed, but the derived fonts were
still broken.  (fonts/h*.ps)
	- In some Fontmaps, the /Charter-* font names were linked directly
to the Bitstream fonts, rather than being aliases for /CharterBT-*.
(lib/Fontmap.GS, lib/Fontmap.Sol, lib/Fontmap.Ult)

Makes undefined fonts execute the SubstituteFont procedure in $error, per a
posting by Stephen Zisk of Adobe on pdf-prepress-l on 10/8/97.
(lib/gs_fonts.ps)

Changes the interpreter-level CIE color space install procedures to reflect
the addition of const to the color space argument. (zcie.c)

</pre><h3><a name="5.67_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The interpreter appeared to be a distiller even when the current
device was not pdfwrite.  We fixed this by patching 'where' to make the
distiller operators visible iff the current device is pdfwrite.  We also
moved the setcolor hack in 'where' into PostScript code.  (lib/gs_init.ps,
lib/gs_lev2.ps, lib/gs_pdfwr.ps, zmisc2.c)
	- The current color space for shfill wasn't identically the same
color space as the one in the shading.  (gs_ll3.ps)

Changes the default UCR and BG functions from f(k) = 0 to f(k) = k.
(lib/gs_init.ps)

Adds some unnecessary initializations to suppress bogus "possibly
uninitialized variable" warnings.  (igc.c, zcie.c)

Restructures some code slightly to suppress a bogus "possibly uninitialized
variable" warning.  (zdevice.c)

Brings the CMap machinery up to LL3, by allowing a single CMap to reference
multiple fonts (usefont, usematrix, and array CIDSystemInfo).
(lib/gs_cmap.ps, zfcmap.c)

Finishes implementing ReusableStreamDecode.  The implementation is very
inefficient -- it reads the entire contents into a string -- but it passes
the Genoa FTS.  (lib/gs_ll3.ps, lib/gs_res.ps, zfreuse.c)

Changes CFFs with CharstringType = 2 to generate FontType 2 fonts, rather
than FontType 1 with CharstringType = 2, for compatibility with Adobe's LL3
implementations.  (lib/gs_cff.ps, lib/gs_type1.ps, lib/type1ops.ps, bfont.h,
ichar1.h, ifont.h, ifont1.h, zbfont.c, zchar1.c, zchar2.c, zcharx.c,
zfont.c, zfont1.c, zfont2.c)

Adds the ability to create (with .bytestring) and do a few operations
(currently only length, put, putinterval) on byte arrays.  This is needed
for implementing ReusableStringDecode filters with >64K bytes of data, and
for the LL3 halftone types.  (zgeneric.c, zstring.c)

Implements HalftoneMode, and HalftoneTypes 6, 10, and 16.  To do this, we
introduce an internal HalftoneType 7.  (lib/gs_dps2.ps, lib/gs_init.ps,
lib/gs_ll3.ps, lib/gs_res.ps, zht2.c)

Finishes implementing ImageType 3 images.  (zimage.c, zimage3.c)

Adds the hooks in ColorSpace defineresource and undefineresource for
detecting definitions that interact with UseCIEColor.  (gs_res.ps)

Implements UseCIEColor at the interpreter level.  (lib/gs_dps1.ps,
lib/gs_ll3.ps, zcolor1.c, zcolor2.c, zimage.c, zmisc3.c)

Touches up some formatting.  (igstate.h)

</pre><h3><a name="5.67_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- A MediaBox with a non-zero llx or lly would produce incorrect
output.  The way we fixed this doesn't exactly match Acrobat, but it
produces reasonable output.  (based on a change from Artifex 5.55)
(lib/pdf_main.ps)
	- Colored patterns didn't work properly.  (lib/pdf_draw.ps)
	- The resources in a Pattern dictionary weren't made available
during the execution of the PaintProc.  (fix from Artifex) (lib/pdf_draw.ps)

</pre><h3><a name="5.67_Streams"></a>Streams</h3><pre>

Adds a flag to the ASCIIHexEncode filter to indicate whether or not to write
an EOD, required for Level 1 output from the pswrite device.  (sstring.h,
sstring.c)

Adds a close_at_eod flag to the stream state, for implementing reusable
streams; also cleans up some formatting.  (stream.h, stream.c)

</pre><h3><a name="5.67_Library"></a>Library</h3><pre>

Fixes problems:
	- Black-and-white images with Interpolate = true produced
undesirable artifacts if the image resolution was close to that of the
device.  We now disable Interpolate in this case.  (gxiscale.c)
	- In "async" mode, get_hardware_params did an unnecessary flush and
reopen.  (from Artifex 5.50c) (gdevprna.c)
	- The computation of the minimum band height for the "async" reader
was incorrect. (from Artifex 5.50c) (gdevbmpa.c)
	- The "fix" for reallocating async buffer memory in 5.50 was
incorrect. (from Artifex 5.55) (gdevprn.c)
	- The "async" reader called clist_finish_page, which it shouldn't.
(from Artifex 5.50c) (gdevprn.c)
	- The image enumeration procedures for ImageType 4 were unnecessary,
since the ImageType 1 code now handles ImageType 4 as well.  (gximage4.c)
	- The structure descriptor for tile clipping devices was
unnecessary, since these are the same as mask clipping devices.  (gxclip2.h)
	- There was a trailing comma in an enumeration list.  (gsbitops.c)
	- Some compilers didn't like initializing a uint with ~0.
(gdevm1.c)
	- shfill unnecessarily saved, reset, and restored the graphics
state.  (gscolor3.c)
	- Radial shadings always extended the shading to radius = 0.
(gxshade1.c)
	- An identifier exceeded VMS's limit of 31 characters.  (gdevprn.h,
gdevprn.c)
	- A header file didn't #include enough of its prerequisites.
(gxpcolor.h)
	- Images with non-default ImageMatrix weren't written correctly in
the band list. (bug introduced in 5.60)  (gximage1.c)
	- Banded images that had to use the default implementation incurred
an extra level of procedure call for each block of data.  (gxclimag.c)
	- Images rotated by other than a multiple of 90 degrees produced
incorrect output, because pie-&gt;rect.p.y was updated after each block of
data, causing image_band_box to produce inconsistent results.  (bug
introduced by async changes in 5.50) (gxclimag.c)
	- The client_data pointer in client_order halftones wasn't traced
correctly, possibly causing memory corruption if this type of halftone was
used.  (These are not currently used by the PostScript interpreter.)
(gsht.c, gsht1.c)
	- ImageType 3 images didn't handle subrectangles.  (Not a problem
for PostScript, which doesn't generate subrectangles, or for PCL, which
doesn't use them.)  (gximage3.c)
	- If a VMerror occurred when setting up an ImageType 3 image. an
attempt could be made to free an uninitialized pointer.  (gximage3.c)
	- ImageType 4 images with 1 to 8 bits per sample and Decode = [1 0]
didn't test transparency correctly. (bug introduced in 5.60) (gximage.h,
gxicolor.c, gximono.c, gxipixel.c)
	- setgray, setrgbcolor, sethsbcolor, and setcmykcolor didn't use
gs_cspace_assign, causing code duplication.  After this fix, we made the
device color space types private, since there are no longer any references
to them outside gscspace.c.  (gxcspace.h, gscolor.c, gscolor1.c, gscspace.c)
	- gs_cspace_assign was misspelled cs_cspace_assign.  (gscspace.h)
	- setgray didn't set the pattern pointer of the current color to 0,
possibly causing the GC to retain patterns it shouldn't.  (gscolor.c)
	- The dev_ht member of an imager (or graphics) state wasn't included
in the macro that enumerates reference-counted pointers.  This probably had
no effect, since the macro isn't used.  (gxistate.h)
	- When the band rasterizer freed its imager state, the halftone and
device halftone structures weren't freed, possibly causing memory leakage.
(gsistate.c)

Changes the default UCR and BG functions from f(k) = 0 to f(k) = k, per a
user's suggestion.  We aren't sure which matches the Adobe implementations
on color devices.  (gxdcconv.c)

Conditionally removes some variables that are not needed on big-endian
systems.  (gdevm1.c)

Restructures some code to suppress bogus "possibly uninitialized variable"
warnings.  (gxfixed.h, gdevddrw.c, gsmatrix.c, gsmisc.c, gxclimag.c)

Adds a couple of unnecessary initializations to suppress bogus "possibly
uninitialized variable" warnings.  (gsbitops.c)

Implements BBox, Background, and Extend for shadings.  (Background isn't
tested yet, because it only takes effect for pattern shading, which isn't
implemented yet.)  (gsshade.h, gxacpath.h, gxistate.h, gxpath.h, gscolor3.c,
gsshade.c, gxacpath.c, gxacpath.c, gxcpath.c)

Brings the CMap machinery up to LL3, by allowing a single CMap to reference
multiple fonts (usefont, usematrix, and array CIDSystemInfo).  (gsfcmap.h,
gxfcmap.h, gsfcmap.c)

Adds more tracing output to the band list reader.  (gxclrast.c)

Cleans up some formatting.  (gstext.h, gxtext.h)

Replaces FontType = 1, CharstringType = 2 with FontType = 2, to match the
Adobe implementations.  (gxfont1.h, gxftype.h, gxtype1.h, gstype1.c,
gstype2.c, gxtype1.c)

Adds new gs_bytestring and gs_const_bytestring structures that may reference
either string or (byte) object storage.  (gsstruct.h, gstypes.h, gsmemory.c)

Implements an additional halftone type (ht_type_threshold2) needed for
HalftoneTypes 6, 10, and 16.  We don't extend gshtx.[hc] to deal with this
at this time, since the new type is only needed for the PostScript
interpreter.  (gxht.h, gxhttype.h, gzht.h, gsht.c, gsht1.c, gshtscr.c)

Adds a procedure for division mod M, possibly needed for halftones.
(gxarith.h, gsmisc.c)

Adds a -Z` debugging switch to turn off high-level images in the band list.
(gxclimag.c)

Implements gdev_prn_render_lines, as the lowest-level external API for
rendering lines in a banded device.  This call replaces the "overlay" calls
for async rendering.  (gdevprn.h, gdevprna.h, gxclist.h, gdevprn.c,
gxclread.c)

Extends the image enumeration API so that the enumerator can indicate what
subset of the input planes it wants delivered on the next call to
image_plane_data.  Currently this is only needed for ImageType 3.
(gsimage.h, gxdevcli.h, gxiparam.h, gdevddrw.c, gsimage.c, gximage.c,
gximage3.c)

Extends the image enumeration structures to handle images that require a
different amount of data for plane N than Width * plane_depths[N].  This
requires a NON-BACKWARD-COMPATIBLE change to the argument list of the
gx_image_enum_common_init procedure.  (gxiparam.h, gdevbbox.c, gsimage.c,
gxclimag.c, gximage.c, gximage2.c, gximage3.c, gxipixel.c)

Updates the copyright date to 1999.  (gscdef.c)

Cleans up formatting, capitalizes macro names, etc.  (gximage.h, gxsample.h,
gxipixel.c)

Adds the UseCIEColor device parameter.  (gxdevcli.h, gxdevice.h, gsdparam.c)

Implements color space substitution (UseCIEColor).  (gscolor2.h, gscspace.h,
gscssub.h, gxistate.h, gzstate.h, gscolor.c, gscolor1.c, gscolor2.c,
gscolor3.c, gscssub.c, gslib.c, gspcolor.c, gsstate.c)

Changes the color space install procedure so that its color space argument
is const.  Now all color space implementation procedures take a const
argument.  (gscie.h, gxcspace.h, gscdevn.c, gscolor2.c, gscscie.c,
gscspace.c, gscsepr.c, gspcolor.c)

Changes gs_setcolorspace so its color space argument is const.  (gscolor2.h,
gscolor2.c)

Splits imager state procedures out of gsstate.c, which was getting too
large.  (gxistate.h, gsstate.c, gsistate.c)

Changes gs_imager_state_initialize so it really initializes the whole imager
state.  (gsistate.c, gxclrast.c)

Removes the now-redundant first (device) argument from the plane_data and
end_image procedures in image enumerators.  Implementors of these procedures
must now get the device from the enumerator structure.  This is a
NON-BACKWARD-COMPATIBLE design cleanup that we have been putting off for
most of a year.  Also adds an argument to plane_data so it can tell its
client how many rows of data was used: this is needed for the implementation
of ImageType 3.  (gxdevcli.h, gxiparam.h, gdevbbox.c, gdevplnx.c, gsimage.c,
gxclimag.c, gxidata.c, gximage.c, gximage3.c)

Changes CFFs with CharstringType = 2 to FontType 2 fonts, rather than
FontType 1 with CharstringType = 2, for compatibility with Adobe's LL3
implementations.  (gstype1.h)

</pre>

<hr>

<h2><a name="Version5.66"></a>Version 5.66 (internal) (11/25/98)</h2>

<p>
This fileset includes the ability to efficiently and conveniently obtain
planar rather than chunky raster output.  It also fixes a large number of
minor compilation problems on non-ANSI compilers, and a small number of real
problems.  It also implements the PostScript LanguageLevel 3 clipsave and
cliprestore operators.  Unfortunately, because of fragility in third-party
code changes that we were forced to include in the base graphics library,
overlapped rasterizing ("async mode") fails:
<ul>
<li>	- At 300 dpi, for 4-bit planar devices in the low-memory
("partial
	page") condition, and always for 32-bit planar devices.

<li>	- At 600 dpi, for all devices other than monochrome.
</ul>

<h3><a name="5.66_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- Every platform-specific makefile must now define _D_, the internal
separator for defining preprocessor macros.
	- Every platform-specific makefile must now define PSLIBDIR, the
directory holding the PS initialization files at build time.  (This need not
be the same as where these files are stored at run time.)

(Library)
	- New elements arch_float_mantissa_bits and
arch_double_mantissa_bits have been added to arch.h.  Cross-build
environments that supply arch.h rather than generating it at build time must
add these elements.
	- A new GB_SELECT_PLANES option has been added to the options mask
for the get_bits_rectangle driver procedure.  Implementations of this
procedure must take this option into account (although they do not have to
implement it).
	- The make_buffer_device printer device procedure has been replaced
with create_buf_device, setup_buf_device, and destroy_buf_device.  All
clients and implementors of make_buffer_device must be changed, including
users of the clist_init_params macro.
	- The gx_device_cmap_procs procedure has been replaced with
gx_get_cmap_procs, which also take an imager state as an argument.  Callers
of gx_device_cmap_procs must be changed.

</pre><h3><a name="5.66_Documentation"></a>Documentation</h3><pre>

Updates Make.htm to clarify the standard directory structure.
(doc/Make.htm)

Adds a note about DEC C vs. VAX C for remapping of exit codes.
(doc/Make.htm)

Clarifies that the end_image procedure frees the enumerator.  (gxiparam.h)

</pre><h3><a name="5.66_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The genxxx utilities didn't compile properly on systems where the
C compiler doesn't automatically search for .h files in the directory of the
.c file.  (unixtail.mak)
	- Preprocessor definitions require special quoting with Watcom C.
Fixing this required adding a _D_ macro similar to II.  This is a
NON-BACKWARD-COMPATIBLE change, since this definition is now required in
each platform-specific makefile.  (dvx-head.mak, openvms.mak, os2.mak,
unixhead.mak, wccommon.mak, winlib.mak, zlib.mak)
	- The VMS subdirectories didn't include the "." to make the
directory name relative.  (openvms.mak)
	- Some of the OpenVMS command files were omitted from the
distribution.  (copy_one.com, rm_one.com, rm_all.com)
	- MMK interprets a final - on a command line as a continuation
marker.  (gs.mak)
	- gsiparm4_h was used before being defined.  (lib.mak)
	- Compiled initialization code (COMPILE_INITS=1) was broken because
of the introduction of subdirectories.  (bcwin32.mak, dvx-gcc.mak,
msvc32.mak, openvms.mak, os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak,
watc.mak, watcw32.mak, int.mak, geninit.c)
	- Level 1 configurations would no longer build with the standard set
of drivers.  (devs.mak)
	- wmake interpreted "&amp;" in a rule command line as calling for
background execution.  (wccommon.mak)

Makes the standard set of features the same on all platforms, namely, psl3
(PostScript LanguageLevel 3) + pdf (PDF 1.2/1.3) + dpsnext (DPS with NeXT
extensions) + ttfont (ability to load TrueType fonts directly).  Unix
platforms add pipe (recognition of %pipe% file names).  (bcwin32.mak,
dvx-gcc.mak, msvc32.mak, openvms.mak, os2.mak, unix-gcc.mak, unixansi.mak,
unixtrad.mak, watc.mak, watcw32.mak)

Adds minimal support for Windows 95/NT compiler versions.  (wccommon.mak)

Notes a set of switches that may work around the optimizer bug in MSVC++
5.0.  (msvccmd.mak)

</pre><h3><a name="5.66_Utilities"></a>Utilities</h3><pre>

Adds a switch to genconf to set the escape character, since wmake interprets
"&amp;" in a rule command line as calling for background execution.  (genconf.c)

Makes echogs recognize -+ alone as equivalent to - alone, for the sake of
VMS systems, which interpret a final - as a line continuation marker.
(echogs.c)

Adds a viewpsm procedure to viewpbm.ps, for reassembling plane-separated
files.  (lib/viewpbm.ps)

</pre><h3><a name="5.66_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- There were places where the code assumed that void * could be
coerced to byte *, which not all C compilers support.  (gdevpdfx.h,
gdevpdfo.c)
	- The name put_bytes was defined in two places, causing an error
when linking with NOPRIVATE=1.  (gdevpx.c)
	- The minimum space computation for high-level images and for the
scan line length for the sample async driver was slightly too small.
(gdevbmpa.c)

Improves the tracing output from the psm driver.  (gdevpbm.c)

Rewrites some macros to eliminate "statement not reached" compiler warnings.
(gdevpx.c)

Revises the (only) client for changes in the plane-extraction device API.
(gdevpbm.c)

Adds plane-separated BMP drivers, primarily for testing but also as an
example.  bmp[a]sep1 and bmp[a]sep8 produce 1- and 8-bit-per-pixel separated
CMYK.  (gdevbmp.h, gdevbmp.c, gdevbmpa.c, gdevbmpc.c)

</pre><h3><a name="5.66_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The Watcom environment doesn't provide the st_blocks member of the
stat structure.  (stat_.h)
	- In its standard configuration, the Watcom environment doesn't
provide stdprn.  (gp_iwatc.c)
	- Newer versions of DEC C on OpenVMS don't require the remapping
of the exit codes.  (stdpre.h)

Revises the dummy implementation of semaphores, monitors, and threads in an
attempt to make async rendering (just barely) work for the non-overlay case.
Unfortunately, this turned out not to be feasible.  (gp_nsync.c)

</pre><h3><a name="5.66_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Certain DEC compilers assume that a pointer is aligned even if it
is cast to a pointer whose target type has weaker alignment; this produced
"unaligned access" errors in the interpreter.  (interp.c)
	- A necessary cast was omitted.  (zcrd.c)
	- Level 1 configurations would no longer run.  (lib/gs_init.ps)

Updates clients to set mask image fattening properly.  (zimage.c, zimage2.c)

Rewrites some macros to eliminate "statement not reached" compiler warnings.
(files.h, istruct.h)

</pre><h3><a name="5.66_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- The test for whether to honor the Rotate key was backwards.  (bug
probably introduced in 5.24) (lib/pdf_main.ps)

Updates the code to handle improper PDF files in which the startxref and the
following file position appear on the same line rather than (as required by
the spec) two successive lines.  (lib/pdf_main.ps)

</pre><h3><a name="5.66_Streams"></a>Streams</h3><pre>

Notes a bug in s_DCT_get_quantization_tables.  (sdcparam.c)

</pre><h3><a name="5.66_Library"></a>Library</h3><pre>

Fixes problems:
	- The algorithm for reducing 4-bit chunky to 1-bit separated colors
didn't handle the trailing pixels of a transfer correctly.  (gdevplnx.c)
	- Banding for RGB devices with multi-plane halftones was broken.
(bug introduced recently) (gxdcolor.c)
	- Mask images were written in the band list with inverted polarity.
(bug introduced in 5.60) (gximage1.c)
	- Mask images were always fattened.  Fixing this required extending
the API, since gs_image_t_init_mask set adjust = true by default (a bad
decision) and we didn't want to change it.  (gschar.h, gscpm.h, gsiparam.h,
gzstate.h, gschar.c, gximage1.c)
	- The member names push and pop caused problems for compilers whose
preprocessors consider it an error to use a macro defined with arguments as
a name without arguments.  (gxfont1.h, gstype1.c)
	- Once again, gcc didn't detect some private/non-private mismatches.
(gdevplnx.c, gsalphac.c, gximage2.c, gximage4.c)
	- &amp; was used with an array (which gcc doesn't complain about).
(gxshade6.c)
	- There were several uses of automatic aggregate initialization,
which not all C compilers support.  (gdevprn.c, gdevps.c)
	- There were places where the code assumed that void * could be
coerced to byte *, which not all C compilers support.  (gdevprn.c)
	- Some \ line continuation characters were used inappropriately
(in a macro argument list).  (gxclimag.c)
	- Some function prototypes didn't use the Pn macros.  (gsalloc.c)
	- A function definition not at the left margin confused ansi2knr.
(gsfont.c)
	- A cast for the result of malloc, needed on systems where malloc
returns a char * rather than a void *, was missing.  (gsmalloc.c)
	- An occurrence of dev should be pdev.  (I can't understand how we
missed this in 5.65.)  (gdevprna.c)
	- A value was missing from a list of initial structure values,
causing mismatches between subsequent values and the members they
initialized.  (gcc treated this as a warning: it should have given an
error.)  (gxband.h)
	- When setting the tile phase during banding, the old value of the
tile phase was written out rather than the new one.  (gxclutil.c)
	- The definition of fixed_mult_quo wasn't consistent between systems
with FPU (where it took the floor, and might be slightly inaccurate) and
systems without FPU (where it truncated towards zero, and was accurate).
(gxfixed.h, genarch.c, gsmisc.c)
	- Banding devices using multi-screen halftones didn't set the
halftone phase correctly.  We have now "fixed" this problem at least 4
times.  (gxclrast.c)
	- The name put_bytes was defined in two places, causing an error
when linking with NOPRIVATE=1.  (gsparams.c)
	- For [x][y]show, the pointers to the width arrays weren't
initialized, causing memory access errors when checking or garbage
collecting.  (gschar.c)
	- Due to a typo, bitmap characters were fattened too much.
(gximage1.c)
	- Some identifiers exceeded VMS's limit of 31 characters.
(gdevprn.h, gscsepr.h, gsdevice.h, gxdevice.h, gdevdflt.c, gdevprn.c,
gscsepr.c, gsdparam.c)
	- The device halftone parameter was declared const inappropriately
in some places.  (gsdcolor.h, gxdither.h, gxdcolor.c, gxdither.c)
	- gdev_mem_raster was used (misleadingly, even though it happened to
produce the correct result) on possibly non-memory devices.  (gxclread.c)
	- Pure Level 1 configurations had some undefined procedures.
(gscolor1.c, gscspace.c)
	- Indexed color images could incorrectly conclude that they didn't
need to re-render halftones, producing incorrect output.  (gximono.c)
	- gs_device_is_memory returned false for non-banding printer
devices: this didn't used to matter, but it matters now.  We changed it to
test the procedures rather than the device name.  (gdevmem.c)
	- The plane extraction device didn't handle halftoned colors
correctly.  (gdevplnx.c)
	- If an error occurred while building a Function object, a crash
could occur while freeing the partially built object.  (gsfunc.c)
	- The plane extraction device didn't handle RasterOps correctly.
(gdevplnx.c)
	- The colors-used mask could include some additional, invalid bits.
(gxclrect.c)
	- The colors-used mask was updated incorrectly for RasterOps on
subtractive-color devices.  (gxclrect.c)
	- Memory devices didn't set enough option bits for the case where
get_bits_rectangle had to do conversion.  (gdevmem.c)
	- The TrueType font rasterizer didn't accept fonts whose 'type' was
"true" rather than the documented <00 01 00 00>.  (gstype42.c)
	- A bug in the Watcom compiler caused two conditional expressions to
execute incorrectly.  (gstype42.c)
	- When a page queue was freed, it attempted to free the page_info
resource in the reserve entry, which is actually unused.  (gxpageq.c)
	- A necessary #include was missing.  (gdevmr2n.c)

Reduces the size of band list entries for halftoned colors somewhat.
(gxclpath.h, gxclpath.c, gxclrast.c)

Increases the number of saved band color masks per page, mostly for testing.
(gxband.h)

Rewrites some macros, and one 'for' statement, to eliminate "statement not
reached" compiler warnings.  (gxcldev.h, gxpath2.c)

Corrects a tiny inaccuracy in the computation of trapezoid coordinates.
(gdevddrw.c)

Edits the trapezoid fill code for greater readability and better
documentation of its functioning.  The new code runs a little slower on
compilers that don't support 'inline'.  (gdevddrw.c)

Improves the documentation of the tile phase bookkeeping.  (gxclrast.c)

Documents the fact that fixed_mult_quo takes the floor if the first argument
is negative.  (gxfixed.h)

Finishes implementing clipsave and cliprestore.  (gxclipsr.h, gxistate.h,
gzstate.h, gsclipsr.c, gsstate.c)

Implements driver access to planar, rather than chunky, banding.
(gdevplnx.h, gdevprn.h, gxclist.h, gxdevcli.h, gxrplane.h, gdevplnx.c,
gdevprn.c, gxclread.c)

Makes it possible to set up memory devices that allocate just the line
pointer table (but not the bitmap), or neither the line pointers nor the
bitmap.  (gxdevmem.h, gdevmem.c)

Moves gx_device_white/black to a more appropriate header file.  (gxdcolor.h)

Moves gx_default_make_buffer_device to a more appropriate file.
(gdevdflt.c, gdevprn.c)

Adds plane extraction and expansion utility procedures, required for the
extended capability of get_bits_rectangle.  (gsbitops.h, gsbitops.c)

Extends get_bits_rectangle so it can return individual planes rather than
all planes.  (gdevplnx.h, gsbittab.h, gxbitfmt.h, gxgetbit.h, gdevdgbr.c,
gdevdrop.c, gdevmem.c, gdevplnx.c, gsalphac.c, gsbittab.c)

Factors out the two more complex cases of gx_get_bits_copy into single-use
procedures for readability.  (gdevdgbr.c)

Makes public the procedure for reducing a colored halftone to a pure or
binary halftone, needed for planar rendering.  (gxdither.h, gxdither.c)

Moves the client_data pointer from gs_state to gs_imager_state.
(gxistate.h, gzstate.h, gsstate.c)

Extends the plane extraction device to handle fill_mask and images
efficiently.  (gxcmap.h, gdevplnx.h, gdevplnx.c)

Creates a procedure to make a temporary copy of a gs_imager_state, needed
for planar image processing.  (gxistate.h, gsstate.c)

Makes getting the color mapping procedures for a device a virtual procedure
of the imager state, needed for planar image processing.  (gxcmap.h,
gxistate.h, gxcmap.c, gxicolor.c, gximono.c, gxi12bit.c)

Increases the amount of memory allocated to the asynchronous rasterizer,
since we now may need a dynamically allocated line pointer table for the
target (plane) memory device.  (gdevprna.c)

Adds a record of which bands have "difficult" RasterOps -- RasterOps that
can't be executed, even in principle, in CMYK space.  We don't do anything
with this information yet, but we will have to.  (gsropt.h, gxband.h,
gxcldev.h, gxclpath.h, gxclist.c, gxclpath.c, gxclrect.c)

Makes conversion from render_plane indices to bit ranges the responsibility
of the device, not the client.  (gxrplane.h)

</pre>

<hr>

<h2><a name="Version5.65"></a>Version 5.65 (internal) (11/13/98)</h2>

<p>
The main purpose of this fileset is to fix the MS Windows and OpenVMS build
procedures, which have been broken since 5.60.  It also adds the ability for
a driver to determine efficiently which colors are used in a given page or
band, which is important for separated color printing, and contains some
early support for plane-separated color printing.

<h3><a name="5.65_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- Every platform-specific makefile must now define D_ and _D, the
brackets for defining preprocessor macros.
	- The unix-cc.mak makefile has been renamed unixtrad.mak, since it
only applies to "traditional C" compilers.

(Drivers, Library)
	- Devices now store their TextAlphaBits and GraphicsAlphaBits values
explicitly.  The former get_alpha_bits procedure is obsoleted, and no
longer implemented or called by any code we distribute.
	- gx_device_color_info now has additional fields.  Code that
constructed gx_color_info_values in any way other than by using the dci_
macros will no longer work.

</pre><h3><a name="5.65_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The -sPSFile= switch was still documented, even though it no
longer exists.  (doc/Use.htm)
	- The - "switch" wasn't documented in the list of switches,
although it was documented elsewhere.  (doc/Use.htm)
	- The documentation for the PC environments was out of date -- it
didn't mention the use of subdirectories.  (doc/Make.htm)

Updates the documentation on PostScript files to indicate in what directory
the files are distributed.  (doc/Psfiles.htm)

Documents more of the utility procedures used by printer drivers.
(gdevprn.h)

Notes that the public tar archives may not be compatible with the tar
program in SunOS 4.1.3.  (doc/Make.htm)

Adds documentation on the Unix "make pg" target.  (doc/Make.htm)

Updates documentation to reflect the name change from unix-cc.mak to
unixtrad.mak.  (doc/Make.htm)

Adds some links for the benefit of people who have built Ghostscript before
and therefore skip reading the initial sections of the documentation.
(doc/Make.htm)

Documents the new -_ switch.  (doc/Use.htm)

Updates the documentation to mention PostScript LanguageLevel 3 and to
remove many references to 16-bit systems.  (doc/Language.htm)

</pre><h3><a name="5.65_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- A cast discarded `const' needlessly.  (genconf.c)
	- Upper-case echogs switches were getting converted to lower case
on VMS.  (jpeg.mak)
	- $(EXP) was missing before some invocations of executables.
(gs.mak, jpeg.mak, lib.mak)
	- Some dependencies in the Unix install script were incorrect.
(unixinst.mak)
	- Because of differences between shells, putting *.upp in the list
of files to be installed didn't work with some shells.  (unixinst.mak)
	- The PC makefiles were out of date.  (bcwin32.mak, pcwin.mak,
winint.mak, winlib.mak, dwmain.rc, gsdll32.rc)
	- Some makefiles still used $(DEV) instead of dev.  (dvx-tail.mak,
msvclib.mak, openvms.mak, os2.mak, pcwin.mak, watclib.mak, winlib.mak)
	- The DEVICE_DEVSn lists overflowed the DOS 120-character command
line limit again.  We had to add DEVICE_DEVS16 through 20 to work around
this.  (*.mak)
	- Preprocessor definitions have a different syntax on VMS.  Fixing
this required adding D_ and _D macros, similar to I_ and _I.  This is a
NON-BACKWARD-COMPATIBLE change, since these definitions are now required in
each platform-specific makefile.  (dvx-head.mak, openvms.mak, os2.mak,
unixhead.mak, wccommon.mak, winlib.mak, zlib.mak)

Adds command line switches to generate additional warnings when compiling
the auxiliary programs with gcc.  (unix-gcc.mak)

Gets rid of the EXPP and SHP macros, since they aren't used or needed any
longer.  (gs.mak, bcwin32.mak, dvx-head.mak, msvccmd.mak, openvms.mak,
os2.mak, unixhead.mak, watcw32.mak, wccommon.mak)

Changes the Unix EXP to null, since all executables now use an explicit
directory prefix.  (unixhead.mak)

Renames unix-cc.mak as unixtrad.mak, since people with ANSI-compatible cc
were getting confused.  (unix-cc.mak [deleted], unixtrad.mak)

Adds a -_ switch, for piped execution with buffering.  (iminst.h,
imainarg.c)

</pre><h3><a name="5.65_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The revised ansi2knr didn't recognize "foo(void)" as a procedure
definition.  (ansi2knr.c)
	- ansi2knr didn't handle function definitions where the last
formal parameter was a procedure parameter.  (ansi2knr.c)

Adds a utility for printing an informative error page if a PostScript job
fails.  (lib/errpage.ps, doc/Psfiles.htm, unixinst.mak)

</pre><h3><a name="5.65_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The [e]pswrite drivers produced incorrect output for images in
non-Device color spaces.  We fixed this by causing all other images to be
handled as rectangles.  This is clearly not satisfactory: we need to unify
the PS and PDF writers in this area.  (gdevps.c)
	- The CCITTFaxEncoded data produced by the [e]pswrite driver had
both a Rows value and an EndOfBlock marker, which wasn't compatible with
some Adobe interpreters.  (gdevpsdf.c)
	- X devices couldn't be copied, because the copy didn't clear the
list of X fonts and therefore tried to free it a second time.  (gdevx.c,
gdevxini.c)
	- gdevx.h declared a type called rect, conflicting with variables
named rect.  (gdevx.h, gdevx.c)
	- A function definition wasn't formatted properly to be
recognized by ansi2knr.  (gdevupd.c)
	- The PCL XL drivers crashed if given a masked image.  (gdevpx.c)

Adds a PBM driver that writes separated CMYK, using the colors-used masks to
skip bands.  (devs.mak, gdevpbm.c)

Updates drivers that formerly supported the TextAlphaBits and
GraphicsAlphaBits parameters themselves.  (gdevmswn.h, gdevsvga.h,
gdevpbm.c, gdevmswn.c, gdevpm.c, gdevwdib.c, gdevsvga.c, gdevxalt.c)

</pre><h3><a name="5.65_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The stack size on the Watcom platform was set too small.
(watc.mak)
	- The OpenVMS platform code and makefiles had gotten out of date.
(gp_vms.c, openvms.mak)

</pre><h3><a name="5.65_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The size of Indexed color space lookup tables wasn't set, possibly
causing them to be corrupted during garbage collection.  (zcsindex.c)
	- A function definition wasn't formatted properly to be
recognized by ansi2knr.  (icontext.c)
	- quit was only rebound to stop in encapsulated jobs, rather than in
any context under control of a job server.  Since we don't currently have
any explicit way to indicate whether execution is under control of a job
server, we consider that it is under a job server iff startjob has ever been
executed.  (lib/gs_lev2.ps)

Adds tracing output for removing an entry from a dictionary.  (idict.c)

Slightly improves dictionary deletion so that it can replace a run of
deleted keys with empty keys.  (idict.c)

Adds statistics-gathering to the interpreter.  (interp.c)

Adds more statistics-gathering to the dictionary stack search.  (idstack.c)

Improves the debugging printout of packed arrays.  (idebug.c)

Increases the name table allocation increment from 128 names (1.5K) to 256
names (3K), to provide better scattering of name indices.  (inamedef.h)

Changes the name count / index mapping to provide better scattering.
(inamedef.h)

</pre><h3><a name="5.65_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- If a font other than the base 14 wasn't embedded and lacked a
descriptor, an error occurred.  (The PDF specification explicitly prohibits
this, but Acrobat PDFWriter 3.02 for Windows produces PDF files with
TrueType fonts that lack a descriptor.)  (lib/pdf_font.ps)

</pre><h3><a name="5.65_Library"></a>Library</h3><pre>

Fixes problems:
	- The computation of colors used by CMYK halftones was incorrect.
(gxclpath.c)
	- Some header files had preprocessor directives with a space before
the #, which pre-ANSI compilers don't accept.  (gpsync.h, gsjconf.h,
gsmemlok.h, gxsync.h, gxxfont.h)
	- A number of prototypes didn't use the Pn macros.  (gscolor2.h,
gscsepr.h, gsptype1.h, gspcolor.c)
	- A function definition wasn't formatted properly to be
recognized by ansi2knr.  (gxcht.c)
	- The algorithm for reducing single-plane CMYK halftones to binary
halftones was incorrect (bug introduced in 5.60).  (gxdither.c)
	- Writing a degenerate triangle or parallelogram in the band list
could cause a memory access error when rasterizing.  (gxclrast.c)

Adds per-band "colors used" information to the information for a saved page,
and procedures (gdev_prn_colors_used and gx_page_info_colors_used, defined
in gdevprn.h) for accessing it.  (gdevprn.h, gxband.h, gxclist.h, gdevprn.c,
gxclist.c)

Adds an internal device that appears to clients as a multi-plane color
device, and extracts a single plane for actual rendering.  This device will
be used to support planar output devices.  (gdevplnx.h, gsbitops.h,
gdevplnx.c)

Adds explicit color_info.text_anti_alias_bits and graphics_anti_alias_bits
values in the device state, obsoleting the get_alpha_bits procedure, and
makes them settable for all devices.  (gxdevcli.h, gxdevice.h, gdevabuf.c,
gdevdflt.c, gdevnfwd.c, gdevprn.c, gsdparam.c)

Reformats some code for readability.  (gxdither.c)

Adds a tentative API for a procedure that allows band rasterizing directly
into client's memory.  This is tentative because we may need to add the
ability to select an individual plane.  (gdevprn.h)

</pre>

<hr>

<h2><a name="Version5.64"></a>Version 5.64 (internal) (11/5/98)</h2>

<p>
This is another incremental fileset to fix problems for an external
customer.

<h3><a name="5.64_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Drivers)
	- The output_page procedure of all drivers now must call
gx_finish_output_page as its last action.  (This doesn't affect ordinary
printer or raster file drivers, which already call a common procedure.)

</pre><h3><a name="5.64_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The instructions for creating 'makefile' on Unix systems were
out of date.  (doc/Make.htm)

</pre><h3><a name="5.64_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- An omitted return statement caused genconf to malfunction on some
platforms.  (genconf.c)
	- The replacement of MAKEFILES by TOP_MAKEFILES accidentally changed
some comments that should not have been changed.  (bcwin32.mak, gs.mak,
msvctail.mak, openvms.mak, os2.mak, watcw32.mak, wctail.mak, winlib.mak)

</pre><h3><a name="5.64_Drivers"></a>Drivers</h3><pre>

Updates drivers to call gx_finish_output_page where needed.  (gdev3b1.c,
gdevcgm.c, gdevcp50.c, gdevpdf.c, gdevmswn.c, gdevpm.c, gdevps.c, gdevpx.c,
gdevsnfb.c, gdevwprn.c, gdevx.c)

</pre><h3><a name="5.64_Library"></a>Library</h3><pre>

Fixes problems:
	- The FontBBox workaround introduced in 5.63 didn't work properly.
(zchar1.c)
	- PageCount was getting incremented in the first device of a device
pipeline, rather than in the last one and being propagated back.
(gxdevice.h, gdevbbox.c, gdevdflt.c, gdevnfwd.c, gdevprn.c, gdevprna.c,
gsdevice.c)

</pre>

<hr>

<h2><a name="Version5.63"></a>Version 5.63 (internal) (11/4/98)</h2>

<p>
This fileset was driven by the development needs of an external customer,
primarily related to asynchronous rendering.  It includes a few bug fixes as
well.

<h3><a name="5.63_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- In the makefiles, changes the name MAKEFILES to TOP_MAKEFILES.

(Library)
	- The pis member of the Type 1 interpreter state was renamed in
order to catch places that assumed it was set.  (It may now be 0.)  This
should not affect any client code.
	- gx_page_queue_dnit and gx_page_queue_finish_dequeue now free the
band list information associated with the page_info in the queue entry.  An
explicit call of gx_page_queue_entry_free_page_info is now required to free
this information before any other call of gx_page_queue_entry_free.

</pre><h3><a name="5.63_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- devs.mak incorrectly referred to msdevs.mak rather than pcwin.mak.
(devs.mak)

</pre><h3><a name="5.63_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- There was a $ in the makefile that wasn't quoted.  (unix-gcc.mak)
	- The name MAKEFILES has a special meaning in GNU make which only be
disabled by using a directive that is a syntactic error for standard 'make'
implementations.  We had to work around this by changing all occurrences of
MAKEFILES to TOP_MAKEFILES.  (*.mak)
	- genconf did the wrong thing for modules with names shorter than
5 characters.  (genconf.c)

</pre><h3><a name="5.63_Drivers"></a>Drivers</h3><pre>

Updates the Canon BJC library, changing the names of the files.  This code
is still very preliminary.  (gdevbjcl.h, gdevbjcl.c)

</pre><h3><a name="5.63_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- Some Type 1 fonts have a plausible but incorrect (too-small)
FontBBox, causing some characters to be clipped.  We work around this by
enlarging the FontBBox and restarting the rasterization if the outline goes
outside the FontBBox.  (zchar1.c)

</pre><h3><a name="5.63_Library"></a>Library</h3><pre>

Fixes problems:
	- gx_default_strip_copy_rop didn't check for zero width before
dividing by it.  (gdevdrop.c)
	- Some places that called a procedure returning void tried to use
the return value.  (gximage.c, gximage1.c, gximage4.c)
	- The flatness for rendering Type 1 characters was set incorrectly
(always set to 0, producing best accuracy at extra cost) for characters not
in portrait orientation.  (gxtype1.c)
	- clist_begin_typed_image incorrectly used the memory manager client
name "clist_begin_image".  (gxclimag.c)
	- If a page queue entry was created without a page_info, the entry's
page_info wasn't initialized, probably causing a crash when attempting to
free the (nonexistent) associated band files later.  (gxpageq.c)

More fully supports the use of saved page_info objects for decoupling banded
rendering from band list construction:
	- Adds the ability to close and free the command list associated
with a saved page.  (gxclist.h, gxclist.c)
	- Separates freeing of the band list information associated with a
page queue entry from freeing the entry itself.  (gxpageq.h, gxpageq.c)
	- Changes the rendering thread for asynchronous band rendering so
that it doesn't try to free the band list information twice.  (gdevprna.c)

Implements triangles and parallelograms in the band list, primarily for the
sake of smooth shading.  (gxclpath.h, gxclist.c, gxclpath.c, gxclrast.c)

Adds a rectangle merging procedure, parallel to rectangle intersection.
This is needed for the FontBBox fix.  (gsrect.h)

Adds logic for keeping track of what pixel values are used in which bands.
Currently this information is not used for anything.  (gdevmrop.h, gsropt.h,
gxcldev.h, gxclpath.h, gxclrect.c, gxclpath.c, gxclimag.c)

Updates a few more files for readability and coding conventions.
(gxband.h, gxpageq.c)

Updates users of gxband.h and gxpageq.h.  (gdevprn.h, gxclist.h, gxpageq.h,
gdevprna.c, gxclpage.c, gxclread.c)

Moves the definition of the page queue into the (private) implementation
file.  (gxpageq.h, gxpageq.c)

</pre>

<hr>

<h2><a name="Version5.62"></a>Version 5.62 (internal) (10/31/98)</h2>

<p>
This fileset concludes this round of work on (primarily color) performance
improvement.  It contains almost no new bug fixes.

<h3><a name="5.62_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Library)
	- Clients that load the CIE caches themselves must now reset the
procedures to the _from_cache values.  (This affects the PostScript
interpreter, but no ordinary library clients.)
	- gs_cie_compute_wbsd (an internal procedure) was changed to
gs_cie_compute_points_sd, with different parameters.

</pre><h3><a name="5.62_Documentation"></a>Documentation</h3><pre>

Adds information about problems with PDF files copied from Macintosh
environments.  (doc/Use.htm)

</pre><h3><a name="5.62_Drivers"></a>Drivers</h3><pre>

Adds a library for generating Canon BJC commands.  This code is subject to
change without notice!  (gdevcbjc.h, gdevcbjc.c)

</pre><h3><a name="5.62_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The structures allocated for CIE RenderTables weren't marked
correctly for garbage collection, possibly mangling the output.  (zcie.c)
	- The CIE color space procedures weren't reset after the cache was
loaded, producing incorrect output now that it matters.  (zcie.c, zcrd.c)

</pre><h3><a name="5.62_Library"></a>Library</h3><pre>

Fixes problems:
	- Under some circumstances, a setbbox didn't take effect.
(gxpcopy.c)
	- The last step of CIE color mapping didn't clamp the very top end
of the range correctly.  (gsciemap.c)

Speeds up bits_replicate_horizontally a bit more.  (gsbitops.c)

Separates the CIE color mapping code from CIE cache loading, since the file
was getting too big.  (gscie.h, gscie.c, gsciemap.c)

Finishes adding the hooks for skipping steps during CIE color mapping when
possible, and implements one case of step-skipping.  (gscie.h, gscie.c,
gsciemap.c, gscrd.c)

Adds more tracing to the CIE color machinery.  (gscie.c)

Changes the default number of tiles for the colored halftone screen caches
from 1 to 4, substantially reducing cache turnover.  (gsht1.c, gshtx.c,
gxclrast.c)

</pre>

<hr>

<h2><a name="Version5.61"></a>Version 5.61 (internal) (10/28/98)</h2>

<p>
More rendering speedups, and fixes for many of the minor problems reported
in 5.50.

<h3><a name="5.61_Documentation"></a>Docmentation</h3><pre>

Fixes problems:
	- There were still some incorrect references to .txt files.
(gs.mak, libpng.mak)
	- Two references to libpng should have referred to libjpeg.
(gs.mak)

</pre><h3><a name="5.61_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- GNU 'make' treats the name MAKEFILES specially.  (unix-gcc.mak)
	- genconf didn't sort libraries in the right order.  (genconf.c)
	- The dependency for ansi2knr, and the invocation of ccgs, didn't
include the directory name.  (ccgs, unix-cc.mak)
	- The CC_ and CCAUX rules didn't invoke the new ccgs correctly.
(unix-cc.mak)
	- There was a typo in a comment.  (unixtail.mak)
	- gcc versions of the form 2.7.2.f.1 weren't recognized as having
the const-related code generation bug.  (unix-gcc.mak)

Documents workaround for bugs in newer IRIX compilers.  (doc/Make.htm)

</pre><h3><a name="5.61_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- ansi2knr didn't understand the new formatting of the enum_ptrs and
reloc_ptrs procedures, which now don't have a left brace on the same line as
the macro call that defines the procedure.  (ansi2knr.c)

Adds a utility for viewing MIFF files.  (lib/viewmiff.ps)

</pre><h3><a name="5.61_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The X driver could report a depth (e.g., 15 bits) that caused
problems elsewhere.  (gdevxini.c)
	- With the X driver, if the display is grey-scale or does not have
enough colors to allocate a color ramp, Ghostscript crashed in
x_map_color_rgb due to an array index overflow.  (gdevx.c)
	- The PDF writer used the X scaling of fonts to determine the point
size rather than the Y scaling, which gives the wrong result for synthetic
condensed fonts.  (gdevpdft.c)
	- If the last thing written before a flushpage was text, the X
driver might fail to display it.  (gdevx.c)
	- The PDF writer didn't free the streams created for image
compression, causing a memory leak.  (gdevpsdf.c)
	- pswrite didn't output a command to set the page size.  (gdevps.c)

Removes an obsolete comment and commented-out line.  (gdevxalt.c)

</pre><h3><a name="5.61_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Explicit (not resource) Indexed color spaces caused an error.
(lib/pdf_draw.ps)

</pre><h3><a name="5.61_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The PNGPredictor filters didn't free their row buffer.  (spngp.c)
	- The PNGPredictor filters didn't handle end-of-data correctly.
(spngp.c)

Changes the eexec filter to ignore % characters when reading
ASCIIHex-encoded data.  This is contrary to the Adobe documentation, but one
badly coded prologue requires it.  (seexec.c)

</pre><h3><a name="5.61_Library"></a>Library</h3><pre>

Fixes problems:
	- The definition of TRANSPARENCY_PER_H_P was in the wrong module,
causing it to be ignored.  (gdevmrop.h, gdevdrop.c)
	- There was a typo in the tracing output for init_tile_cursor.
(gxcht.c)
	- gx_get_bits_copy computed the standard raster incorrectly if
the destination used a different color representation from the source,
causing multi-line transfers to be done incorrectly.  (gdevdgbr.c)
	- Parentheses were missing around the use of width_bits in the
definition of bitmap_raster, possibly causing incorrect computation.
(gxbitmap.h)
	- When rendering a Pattern, a singular CTM caused an error even if
the Pattern was empty.  (gspcolor.c)
	- The lookup table wasn't allocated for device-originated CRDs.
(gscrdp.c)
	- If an error occurred when setting up to rasterize a band,
data_bits could be freed without ever having been initialized.  (gxclrast.c)
	- Processing a CIE-color image with a color space different from the
current color space caused an error.  (gscie.c)
	- The speedup for bits_replicate_horizontally had an algorithm
error, producing incorrect output.  (gsbitops.c)

Splits up the memory device implementation of RasterOp, since the file was
getting too large.  (gdevmem.h, gdevm1.c, gdevm8.c, gdevm16.c, gdevm24.c,
gdevm32.c, gdevmrop.c [deleted], gdevmr1.c, gdevmr2n.c, gdevmr8n.c,
gsnorop.c)

Cleans up a little formatting.  (gsbittab.h)

Speeds up the default RasterOp implementation some more.  (gdevdgbr.c,
gdevdrop.c, gdevmem.c)

Speeds up testing whether a given halftone level is already present in its
cache.  (gzht.h, gxht.c)

Speeds up 1-bit CMYK halftones a bit more.  (gxcht.c)

Makes filling always use the (much faster) trapezoid-based algorithm if the
region being filled is a rectangle.  (gxfill.c)

</pre>

<hr>

<h2><a name="Version5.60"></a>Version 5.60 (internal) (10/18/98)</h2>

<p>
This fileset incorporates many performance enhancements for 1-bit CMYK
devices, especially for PCL 5c interpretation.

<p>
This fileset divides the files into subdirectories.  In the lists of changed
files, files with no explicit subdirectory name are in the src subdirectory.
The revised OpenVMS and OS/2 makefiles have not been tested.

<h3><a name="5.60_Incompatible_changes"></a>Incompatible changes</h3><pre>

(Procedures)
	- The instructions for font compilation in doc/Fonts.htm are
different.
	- The fileset has been split into multiple directories; the source
code and makefiles are now in src/.
	- The top-level makefile requires a definition for BINDIR for the
directory to hold the final executable.
	- Every .dev rule of the form
		xxx.dev: &lt;list&gt;
			$(SETyyy) xxx &lt;items&gt;
			$(ADDMOD) xxx &lt;items&gt;
must be changed to
		$(DD)xxx.dev: &lt;list&gt;
			$(SETyyy) $(DD)xxx &lt;items&gt;
			$(ADDMOD) $(DD)xxx &lt;items&gt;
(DD for drivers, PSD for PostScript/PDF-interpreter features, GLD for
graphics library features).  Every -include and -replace option in the
makefiles rules, and every element of FEATURE_DEVS and DEVICE_DEVS*, must be
changed similarly.  This is very unfortunate, especially since people
editing FEATURE_DEVS and DEVICE_DEVS* must now know which subsystem
implements a particular feature; but we tried 3 different ways to get the
generated .dev files out of the top-level directory, and this was the only
one we could make work.
	- Top-level makefiles must define both MAKEFILE and MAKEFILES,
the latter to include any subsidiary makefiles that define configuration
parameters.  Dependencies on $(MAKEFILE) must be changed to $(MAKEFILES).
	- Color space objects now must either be allocated with the
gs_cspace_build_ procedures or initialized with the gs_cspace_init_
procedures: building color spaces "by hand" is no longer allowed.

(Library)
	- There are new required elements of the gs_image_type_t structure.
	- The binary and colored variants of gx_device_halftone have
changed.  (No APIs are affected.)
	- If a device changes its (effective) color mapping algorithm other
than as a side effect of put_params, it must call
gx_device_decache_colors(dev).

</pre><h3><a name="5.60_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- Some files still referred to .doc files rather than .htm.
(gsiparam.h, imain.h)
	- Version 5.50 was incorrectly identified as a beta version.
(doc/News.htm)
	- The instructions for cross-compilation were seriously
incomplete.  (doc/Make.htm)

Adds a text-only README file.  (doc/README)

Updates the instructions for font compilation.  (doc/Fonts.htm)

Updates the instructions for device and feature selection.  (doc/Make.htm)

Adds material on 8.3 file names, compiler warning messages, and graphics
library error codes to the C style guide.  (doc/C-style.htm)

Adds a note about gx_device_decache_colors.  (doc/Drivers.htm)

Improves formatting slightly.  (doc/Install.htm, doc/Use.htm)

</pre><h3><a name="5.60_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The Unix install script referred to an obsolete ps2image.ps file.
(unixinst.mak)
	- The Unix CC script had some duplicated definitions.  (unix-cc.mak)
	- The DVX makefile referred to int.mak in GLSRC rather than PSSRC.
(dvx-gcc.mak)
	- rollconv.ps wasn't installed with the other utilities.
(unixinst.mak)
	- Some definitions of MAKEFILE lacked a directory name.  (os2.mak,
unix-cc.mak, unixansi.mak, watclib.mak)
	- There were inappropriate dependencies on a file with the literal
name `makefile'.  (bcwin32.mak, gs.mak, watc32.mak)
	- Unix systems didn't use -fomit-frame-pointer when possible.
(unix-cc.mak, unix-gcc.mak, unixansi.mak, unix-end.mak)

Restructures the source files into multiple subdirectories:
	src/ - files needed at build time: *.mak, *.h, *.c, *.cpp, *.icx, *.rc,
		*.cmd, ??.bat, *.com, *.rps, *.dif, *.cfg
	lib/ - files needed at run time: *_*.ps, *.ppd, *.upp, *.bat
	doc/ - documentation other than man pages: *.htm, *.txt
	man/ - man pages: *.1
	examples/ - sample input data: *.ps, *.eps, *.pdf
Also incorporates the font compilation makefile into the main makefile,
since the former now depends on parameters defined in the latter.  (*.mak)

****** HAVEN'T SETTLED HOW TO HANDLE .ico FILES ******

NOTE: Still need to update: openvms.mak, os2.mak.

Updates the Unix install script for the directory split.  (unixinst.mak)

Updates the font compilation makefile rules to handle alternate directories.
(cfonts.mak, int.mak)

****** PROBLEM: cfonts.mak NEEDS CCFONT, BUT int.mak NEEDS CF* FOR ADDING
ONE'S OWN FONTS ******

Removes useless dependencies on gs_*.ps files.  (int.mak)

Moves the .dev files into the GEN directories where they belong.  (gs.mak,
dvx-tail.mak, msvclib.mak, openvms.mak, os2.mak, pcwin.mak, ugcclib.mak,
unixhead.mak, unixtail.mak, unix-end.mak, watc.mak, watclib.mak, winlib.mak,
echogs.c, genconf.c) ****** NO_OP FOR dvx HASN'T BEEN VERIFIED ******
NOTE: Still to do:
src/bcwin32.mak
src/dvx-gcc.mak
src/dvx-head.mak
src/dvx-tail.mak
src/msvc32.mak
src/msvccmd.mak
src/msvclib.mak
src/msvctail.mak
src/openvms.mak
src/os2.mak
src/pcwin.mak
src/ugcclib.mak
src/watc.mak
src/watclib.mak
src/watcw32.mak
src/wccommon.mak
src/wctail.mak
src/winint.mak
src/winlib.mak

Adds a new BINDIR directory for the final executable (and associated files
like resource files).  After building, only the contents of BINDIR and lib
are needed for execution.  (gs.mak, unix-end.mak) ****** NEED TO DO
openvms.mak, os2.mak, OTHER PC MAKEFILES ******

Updates libpng to version 1.0.2.  (libpng.mak)

</pre><h3><a name="5.60_Utilities"></a>Utilities</h3><pre>

Adds a new switch, -b, to echogs.  (echogs.c)

</pre><h3><a name="5.60_Drivers"></a>Drivers</h3><pre>

Updates the PDF writer for the change in color space initialization.
(gdevpdfi.c)

Speeds up the pkmraw driver a bit more.  (gdevpbm.c)

Updates some drivers to use the new CMYK color mapping procedures.
(gdevpbm.c, gdevpcx.c, gdevxalt.c)

Updates one driver that maintained its own color cache.  (gdevxalt.c)

Removes some compiler warnings (mostly about "uninitialized" variables).
(gdevpdfo.c, gdevpdft.c, gdevpx.c)

Adds another driver for the H-P Color LaserJet 5/5M.  (gdevcljc.c)

</pre><h3><a name="5.60_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- A change in the MetroWerks C compiler caused the hypot function
to become declared.  (math_.h)

</pre><h3><a name="5.60_Interpreter"></a>Interpreter</h3><pre>

Updates the compiled font code for updates in the type declarations.
(iccfont.c, icfontab.c)

Cleans up some more formatting and macros.  (ccfont.h, errors.h, icfontab.c,
interp.c)

Updates clients for the change in color space initialization.  (zcsdevn.c,
zcsindex.c, zcspixel.c, zcssepr.c, zpcolor.c)

Updates the memory validator for the addition of the large-block freelist.
(ilocate.c)

</pre><h3><a name="5.60_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- If the final %%EOF was followed by any blanks before the newline,
an error would occur.  (lib/pdf_main.ps)

</pre><h3><a name="5.60_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The LZWDecode filter wouldn't handle a file that had 4096-256-2+1
data items before the reset.  (We think this is a bug in the file, but
Acrobat accepts it.)  (slzwx.h, slzwd.c)

Rearranges code slightly to improve readability.  (spdiff.c)

</pre><h3><a name="5.60_Library"></a>Library</h3><pre>

Fixes problems:
	- Changing the resolution (or any other parameter) of the bbox
device from the command line caused an invalid memory access.  (gdevbbox.c)
	- When banding, if the very first drawing operation involved a
halftone with non-zero phase, an arithmetic exception occurred.
(gxclpath.c)
	- When banding, the X offset of the band was negated, producing
incorrect output when placing multiple source pages on a single output page.
(gxclread.c)
	- When banding, rotated images crossing band boundaries produced
incorrect output, because the subrectangle X value was inconsistent with the
amount of data transmitted.  (gxclimag.c)
	- When banding, the clipping check didn't take interpolation support
into account.  (gxclimag.c)
	- The clipping check for banding used (int) to take the floor of
floating point values, which is wrong for negative values.  (gxclimag.c)
	- The bounding box device didn't return an empty bounding
rectangle if nothing had been written to it.  (gdevbbox.c)
	- A value was conditional on a debugging switch even if DEBUG wasn't
defined.  (gxcht.c)
	- Filling a region with a large colored halftone, a non-default
RasterOp, and a non-null RasterOp source could cause only part of the region
to be filled.  (gxcht.c) ****** NOT FIXED YET ******
	- Type 1 fonts that used very large numbers (&gt;= 2^19) caused a
rangecheck.  We've fixed this for the only case that seems to matter, namely
&lt;very-large-number&gt; &lt;number&gt; div.  (gxtype1.h, gstype1.c)
	- The memory-based band list allocator failed to return an error
code from memfile_next_blk.  (gxclmem.c)
	- When recovering from a low-band-list-memory condition while
writing an image, the record of the current image enumeration
(cdev-&gt;image_enum_id) wasn't updated.  (gxclimag.c)
	- The estimated memory requirement for the band list rasterizer was
too small.  (gdevprna.c)

Adds some tracing to mask clipping.  (gxclipm.c)

Speeds up masked images by doing mask clipping before halftoning, using a
more efficient mask scanning algorithm, and checking for vertical blocks of
1s.  (gxclipm.c)

Speeds up ImageType 4 images greatly by incorporating the color-key check
into the ImageType 1 rendering code.  NOTE: the 12-bit case has not been
tested.  (gxcpath.h, gximage.h, gxi12bit.c, gxicolor.c, gxifast.c,
gxiinit.c, gximage4.c, gximono.c, gxiscale.c)

Implements passing ImageType 4 images (and potentially others) through the
band list.  This involves adding image parameter writing and reading
procedures to the image type structure.  (gscdefs.h, gsiparam.h, gsiparm2.h,
gsiparm4.h, gsmatrix.h, gxclpath.h, gxiparam.h, gconf.c, genconf.c,
gsmatrix.c, gxclimag.c, gxclist.c, gxclpath.c, gxclrast.c, gxiinit.c,
gximage2.c, gximage3.c, gximage4.c)

Splits off the generic image support code from the ImageType 1 code.
(gxiinit.c [deleted], gximage.c, gximage1.c, gxipixel.c)

Removes some vestiges of support for 16-bit environments.  (gsmisc.c)

Implements bit-planar images, important for PCL interpretation.
(gsiparam.h, gximage.h, gxiparam.h, gdevddrw.c, gdevpdfi.c, gdevps.c,
gsimage.c, gxclimag.c, gxidata.c, gximage.c, gxipixel.c) ****** NOT TESTED
YET ******

Makes closing a memory device that owns its bitmap set the bitmap pointer to
0, for the sake of an application that doesn't handle is_open properly.
(gdevmem.c)

Speeds up floating-point emulation for single-precision add, subtract, and
multiply.  (gsfemu.c)

Speeds up sampling of transfer functions.  (gshtx.c)

Makes the CIE cache used fixed-point values if the CPU has slow floating
point.  (gscie.h)

Adds a unique ID to color spaces to allow fast detection of reselecting the
same color space.  This matters for certain client code that repeatedly
reselects the same color space, since selecting certain color spaces is
expensive.  (gscpixel.h, gscspace.h, gxcspace.h, gscolor2.c, gscpixel.c,
gscscie.c, gscspace.c, gspcolor.c, gsstate.c, gximage2.c) ****** NEED TO FIX
gxclrast.c TO ALLOC INDEXED COLOR SPACE ******

Speeds up setting Pattern color spaces, by bypassing the install code for
the base space.  (gspcolor.c)

Adds a unique ID to CRDs to allow fast detection of reselecting the same
CRD.  This matters for certain client code that does this repeatedly.
(gscie.h, gscrd.h, gscrd.c)

Detects setting the CRD to one with identical PQR components, and bypasses
an expensive setup step.  (gscie.c)

Speeds up converting pixels between representations (gx_get_bits_copy) for
devices with up to 4 bits per pixel, by caching the pixel values.
(gdevdgbr.c)

Speeds up the slow default RasterOp algorithm a little.  (gdevdrop.c)

Defines standard mapping procedures for 1-bit-per-component CMYK colors.
Other code can then test for the presence of these procedures and use more
efficient algorithms.  (gxdevice.h, gxcmap.c)

Speeds up some algorithms in the bbox device by making some recursive calls
use a pure color rather than a client-supplied one.  (gdevbbox.h, gdevbbox.c)

Adds a cache for the black and white pixel values to the device structure.
(gxdevcli.h, gxdevice.h, gdevalph.c, gdevnfwd.c, gsdparam.c, gxdcolor.c)

Makes the code for colored halftones a little more readable.  (gxcht.c)

Speeds up color mapping for CMYK devices by copying the color mapping
procedures into forwarding devices, when applicable.  (gdevcmap.c,
gdevmem.c, gsdevice.c, gxclip.c)

Removes some compiler warnings (mostly about "uninitialized" variables).
(gxcldev.h, gsdevmem.c, gsshade.c, gstype42.c, gxclpath.c, gxfill.c,
gximage3.c, gxpath2.c, gxpcopy.c)

For the benefit of certain client code that commonly sets a CRD and then
doesn't use it, makes loading of the joint CIE caches lazy (at the library
level).  (gscie.h, gscie.c)

Changes CIE color restriction from a macro to a procedure, since it is
rarely used.  (gscie.c)

Adds code and structures for detecting when CIE Decode and/or Encode
procedures are simply linear transformations, which would allow collapsing
them into the adjacent matrix, but doesn't actually do the collapsing.
(gscie.h, gscie.c)

Speeds up color halftoning by pre-computing the mask of planes that need to
be halftoned, and preconverting multi-plane halftones to binary or solid
colors when possible.  (gsdcolor.h, gxcht.c, gxdcolor.c, gxdither.c, gxht.c)

Optimizes color mapping for 1-bit-per-component CMYK halftones.  (gxcht.c)

Optimizes null RasterOp sources for black = 1 as well as black = 0.
(gxdcolor.c)

Modifies the standard allocator so it keeps track of large free blocks as
well as small ones, and uses them to satisfy requests when appropriate.
(gxalloc.h, gsalloc.c)

Speeds up the horizontal bitmap replication code a bit.  (Much more is
possible.)  (gsbitops.c)

Changes gs_image_max_planes to gs_image_max_components to reflect its
function more accurately.  (gdevddrw.c)

</pre>

<hr>

<h2><a name="Version5.50"></a>Version 5.50 (9/16/98)</h2>

<p>
This is the first public release since 5.10.  See
<a href="Current.htm">the release summary</a>
for a list of major additions and changes.

<h3><a name="5.50_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- Many files still referred to .txt rather than .htm files.
(DLL.htm, Make.htm, New-user.htm, Readme.htm, bcwin32.mak, cfonts.mak,
devs.mak, dvx-gcc.mak, dwmainc.cpp, gs-vms.hlp, gxdevcli.h, gxdevice.h,
int.mak, jpeg.mak, libpng.mak, msvc32.mak, msvclib.mak, openvms.mak,
os2.mak, unix-cc.mak, unix-gcc.mak, unixansi.mak, watc.mak, watcw32.mak,
wccommon.mak, zlib.mak)

Notes that ps2epsi.1 and ps2epsi.txt may be inconsistent or obsolete.
(ps2epsi.1, ps2epsi.txt)

Adds a reference to Thomas Merz's Ghostscript manual.  (Readme.htm)

Adds instructions for making RPMs.  (Install.htm, Make.htm)

Changes the URL for post-release notes.  (Bug-form.htm, Make.htm,
New-user.htm)

Notes problems with Watcom compilation.  (Make.htm)

</pre><h3><a name="5.50_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- On Unix systems, the documentation files didn't get installed by
`make install'.  (unixinst.mak)
	- $() was missing around MAKEFILE in a Windows makefile.
(msvc32.mak)
	- The dfax drivers didn't include all the necessary files in the
linker list.  (contrib.mak)
	- The MSVC makefiles didn't allow building the executable in a
different directory.  (bcwin32.mak, gs.mak, lib.mak, msvc32.mak,
msvccmd.mak, msvclib.mak, msvctail.mak, os2.mak, watcw32.mak, winint.mak,
winlib.mak)
	- The default build directory for the Borland compiler was debugobj
rather than obj.  (bcwin32.mak)

Adds a patch file and some specification files for making RPMs.  (gs.rps,
gs-fonts.rps, rpm-conf.dif)

Removes the docs target in the makefile, since this function is now
performed by another program.  (unix-end.mak)

</pre><h3><a name="5.50_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The jpeg drivers caused a memory access error.  (bug introduced in
5.20 by an incorrectly made fix) (gdevjpeg.c)
	- The x11cmyk driver implemented map_rgb_color, which it should not
do.  (gdevxalt.c)

Updates a high-level driver for the addition of the bit-planar image format.
(gdevps.c)

</pre><h3><a name="5.50_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- echogs -h didn't work in environments where char is signed.
(echogs.c)

</pre><h3><a name="5.50_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- MSVC++ 5.0 produced incorrect code with TDEBUG=0.  We "fixed" this
problem by noting in the makefile that TDEBUG must be left set to 1.
(msvc32.mak, msvclib.mak)

Updates the icons for the MS Windows and OS/2 platforms.  (gsgraph.icx,
gsos2.icx, gspmdrv.icx, gstext.icx)

</pre><h3><a name="5.50_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- setpagedevice didn't update the state correctly when switching to
a new type of device (different OutputDevice value).  (gs_setpd.ps)
	- The interpreter's initialization depended on BSS being initialized
to 0.  (files.h, zfile.c)

Removes all references to reloc_struct_ptr other than in gsstruct.h.
(igcref.c)

Adds DEBUG tracing for pdfmarks.  (gs_pdfwr.ps)

Disables TEST code for release.  (zcrd.c, zfdcte.c)

</pre><h3><a name="5.50_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Some third-party software still referred to the obsolete #?
procedure.  (pdf_main.ps)
	- Destinations with string names weren't properly converted to
pdfmarks.  (pdf_main.ps)
	- Destinations with S = /Named weren't supported.  (pdf_main.ps)

</pre><h3><a name="5.50_Library"></a>Library</h3><pre>

Fixes problems:
	- Dropout prevention wasn't applied to landscape image masks.
(gximono.c)
	- When using async rendering, the renderer's allocator was allocated
with the wrong allocator.  (gdevprna.c)
	- gx_strip_bitmap and gx_device_mask_clip didn't have proper GC
descriptors, causing crashes if a GC occurred while rendering an ImageType 3
or 4 image.  (gsstruct.h, gxbitmap.h, gxclip2.h, gxclipm.h, gxmclip.h,
gspcolor.c, gxclipm.c, gxmclip.c)
	- The buffer for printer devices wasn't reallocated properly for
async devices when the page size changed.  We aren't entirely comfortable
with the fix, but it's the best we've got right now.  (gdevprn.c)
	- Some files wouldn't compile with -dNOPRIVATE.  (gxcspace.h,
gscdevn.c, gscolor2.c, gscscie.c, gscsepr.c)
	- gp_semaphore_close and gp_monitor_close were defined as not
returning an error code.  (gpsync.h, gp_nsync.c, gp_posem.c, gp_semon.c,
gp_win32.c)
	- Initialization code depended on BSS being initialized to 0.
(gsiodev.c)
	- The special PCL color mapping device didn't handle CMYK devices
correctly in other than "identity" mode.  (gdevcmap.c)

Cleans up a little formatting.  (gscie.h, gscpixel.c, gxmclip.c)

Removes all references to reloc_struct_ptr other than in gsstruct.h.
(gsstruct.h, gsalloc.c, gsdevice.c, gsfont.c, gxcpath.c)

Patches the async code so that it allocates twice as much space for the
renderer as should be needed, to deal with sandbars.  (gdevprna.c)

</pre>

<hr>

<h2><a name="Version5.40"></a>Version 5.40 (beta) (9/10/98)</h2>

<p>
A few more fixes.  This is intended as the candidate fileset for the 5.50
release.

<h3><a name="5.40_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The current GNU Ghostscript version was documented as 3.33, not
4.03.  (New-user.htm)
	- The ansi2knr usage documentation didn't mention --filename.
(ansi2knr.1)
	- A projected completion date was too optimistic.  (ps2pdf.1)

Replaces all documentation files with new HTML versions.  (*.txt [deleted],
*.htm, index.html, imainarg.c)

Adds a contributed set of Emacs macros useful for working with Ghostscript
documentation.  (gsdoc.el)

Changes the version and date format slightly in one file for consistency.
(gs-vms.hlp)

</pre><h3><a name="5.40_Procedures"></a>Procedures</h3><pre>

Adds a make target (make docs) to touch up documentation files before a
release.  (unix-end.mak)

</pre><h3><a name="5.40_Utilities"></a>Utilities</h3><pre>

Removes the long-obsolete ps2image.ps utility.  (ps2image.ps [deleted])

</pre><h3><a name="5.40_Drivers"></a>Drivers</h3><pre>

Adds a driver for the Color LaserJet 5.  (devs.mak, gdevclj.c)

</pre><h3><a name="5.40_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- Blanks in command lines weren't handled properly.  (dwmain.cpp,
dwmainc.cpp)

</pre><h3><a name="5.40_Library"></a>Library</h3><pre>

Fixes problems:
	- 16-bit devices didn't convert colors to RGB correctly.
(gdevm16.c)
	- 16- and 32-bit RasterOp didn't work, because pack_from_standard
didn't handle depths greater than 8.  (gdevdrop.c)
	- RasterOps with devices with non-standard color representation
sometimes substituted black or white for the source or target.  (gdevdrop.c)
	- The non-orthogonal case of Axial shading executed the axial-case
code as well.  (gxshade1.c)
	- copy_color on 4-bit-deep memory devices did an unnecessary
fit_copy check.  (gdevm4.c)
	- An upcast was missing.  (gdevbbox.c)
	- View clipping was applied to internal devices, incorrectly.
(gspath.c)

Revises the implementation of shading so as to reduce the use of macros,
update formatting, and help prepare for PatternType 2 patterns.  (gsshade.h,
gxshade.h, gxshade4.h, gscolor3.c, gsshade.c, gxshade.c, gxshade1.c,
gxshade4.c, gxshade6.c)

</pre>

<hr>

<h2><a name="Version5.39"></a>Version 5.39 (beta) (9/8/98)</h2>

<p>
A couple more small fixes.

<h3><a name="5.39_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The pkm[raw] drivers didn't work with 32-bit pixels.  (gdevpbm.c)

Adds (fake) 8-, 16-, and 32-bit X11 CMYK devices, for debugging.
Unfortunately, the 16- and 32-bit devices consume the hardware color map and
then no longer behave reasonably; the 8-bit device produces output with
garbled colors (fixed in 5.40).  (devs.mak, gdevxalt.c)

</pre><h3><a name="5.39_Library"></a>Library</h3><pre>

Fixes bugs:
	- All banded devices caused a memory access error.  (bug introduced
in 5.38)  (gsstate.c)
	- The special color mapping device didn't update its state after
put_params.  (gdevcmap.c)
	- RasterOp on 8-bit non-gray-scale devices didn't handle filling
with constant 0 or 1 properly.  (gdevmrop.c)
	- The halftone machinery didn't switch from full-size to strip
halftones early enough, possibly allocating very large halftone data
structures.  (gshtscr.c)
	- If an ioerror (such as a disk- or memory-full condition) occurred
while writing out the band list, the bookkeeping structures were left in an
inconsistent state, causing further problems.  (gxclutil.c)
	- Some shaded fills didn't check for errors when filling
sub-regions.  (gxshade1.c, gxshade4.c)

Cleans up some formatting.  (gxshade6.c)

</pre>

<hr>

<h2><a name="Version5.38"></a>Version 5.38 (beta) (9/3/98)</h2>

<p>
The sole purpose of this release was to fix some obscure bugs detected by
the Genoa tests and by another Aladdin project.

<h3><a name="5.38_Documentation"></a>Documentation</h3><pre>

Updates the list of implemented PostScript LanguageLevel 3 features.
(current.txt)

</pre><h3><a name="5.38_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The PDF writer did the wrong thing for multi-source images with
more than 180 bytes of data (total) per scan line.  (gdevpdfi.c)
	- If one used setdistillerparams, [g]restore caused a rangecheck in
.setpagedevice.  ****** DISABLED FOR DCT DICTS, SINCE THIS CAUSES A SEGV
****** (gdevpsdp.c)

</pre><h3><a name="5.38_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- 0-length parameter arrays were given an arbitrary type, confusing
clients.  (iparam.c)
	- EOD on a write stream caused an error.  (zfileio.c)

</pre><h3><a name="5.38_Library"></a>Library</h3><pre>

Fixes problems:
	- 0-length parameter arrays confused clients that wanted arrays of a
particular type.  (gsparam.c)
	- Patterns with XStep or YStep smaller than the bounding box didn't
work properly.  (gxp1fill.c)
	- Resizing an object sometimes copied it unnecessarily.  (gsalloc.c)
	- Freeing the shared part of a graphics state didn't free its
sub-objects.  (gsstate.c)
	- The standard allocator didn't free its initial (self-containing)
chunk when asked to free itself.  (gsalloc.c)
	- The standard allocator didn't attempt to merge free blocks before
giving up.  We implemented this by adding another virtual procedure to
allocators, consolidate_free.  (gsmemory.h, gsmemraw.h, gsalloc.c,
gsmalloc.c, gsmemlok.c, gsmemory.c)
	- The free object merging algorithm thought there were free objects
even when there weren't.  (Small performance bug only.)  (gsalloc.c)

Adds some more tracing to pattern filling.  (gxclip2.c, gxp1fill.c)

Replaces the cs_alloc, cs_copy, and cs_undo_alloc macros with procedures.
(gxcspace.h, gscolor2.c, gscsepr.c, gscspace.c, gspcolor.c)

Moves the free-object merging code from gsnogc.c to gsalloc.c, so it can be
used even in systems that have a garbage collector.  (gsalloc.h, gxalloc.h,
gsalloc.c, gsnogc.c)

</pre>

<hr>

<h2><a name="Version5.37"></a>Version 5.37 (beta) (8/31/98)</h2>

<h3><a name="5.37_Documentation"></a>Documentation</h3><pre>

Mentions the new cid2code utility in the documentation.  (psfiles.txt)

Documents dpsnext.dev.  (gs.mak)

Notes that clients of ImageType 3 images are responsible for providing the
mask data before the pixel data.  (gsiparm3.h)

</pre><h3><a name="5.37_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The makefiles were missing a dependency of jconfig.h on arch.h.
With this fix, parallel builds (make -jN) work reliably.  (jpeg.mak)

</pre><h3><a name="5.37_Utilities"></a>Utilities</h3><pre>

Adds a utility for creating maps from CIDs to Unicode.  (unixinst.mak,
cid2code.ps)

</pre><h3><a name="5.37_Drivers"></a>Drivers</h3><pre>

Removes the %Fax% IODevice code, since it was only a skeleton and Adobe no
longer supports this facility.  (devs.mak, gdevpfax.c [deleted])

</pre><h3><a name="5.37_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- TrueType fonts whose first code wasn't 0 or 0xf000 didn't display
correctly.  (bug introduced in 5.36) (gs_ttf.ps)
	- CIDFontType 0 fonts didn't handle being redefined with another
name.  (gs_cidfn.ps)
	- CIDFontType 0 fonts could get local-into-global-store errors.
(gs_cidfn.ps)
	- PDF files couldn't use already-defined CMap resources.
(pdf_font.ps)
	- Out-of-range CIDs gave an error rather than using a notdef
character.  (gs_cidfn.ps)

</pre><h3><a name="5.37_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- CIDFontType 4 fonts weren't recognized as CID-keyed.  (zchar2.c,
zchar32.c, zfont32.c)
	- When recovering from an error in an operator procedure, the
interpreter didn't update the dictionary stack caches.  (interp.c)
	- startjob didn't reinitialize the stacks or VM space.  (gs_lev2.ps)
	- Encoding filters with a Predictor always caused an error.
(zfilter2.c)
	- currenttrapparams gave an error.  (gs_ll3.ps)
	- settrapparams had no effect, and left the dictionary on the stack.
(gs_ll3.ps)

Finishes implementing Type 32 fonts.  These fonts don't actually work
directly with the cache -- they store the bitmaps in a compressed form in an
ordinary Dictionary -- but they do behave the way they are specified.
(gs_typ32.ps, zchar32.c, zfont32.c)

Cleans up formatting and macros in a few more files.  (ccfont.h, icharout.h,
icstate.h, iutil.h, iutil2.h, ibnum.c, iccfont.c, iccinit0.c, ilocate.c,
isave.h, isave.c, iscannum.c, iutil.c, iutil2.c)

Removes or capitalizes a few more macros.  (zcontext.c, zcssepr.c,
zusparam.c)

</pre><h3><a name="5.37_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Color spaces with subsidiary spaces (Indexed, Separation, DeviceN)
sometimes didn't work properly, because they were translated to PostScript
structures more than once.  (pdf_draw.ps)
	- Type 3 fonts didn't rebind the resource context when executing the
CharProc procedure.  (pdf_font.ps)

</pre><h3><a name="5.37_Streams"></a>Streams</h3><pre>

Fixes problems:
	- The CCITTFax decoder signaled an error if it saw an EOB with
EndOfBlock = false.  (According to e-mail from Adobe, EOBs should be
recognized even if EndOfBlock is false, even though the Red Book implies the
opposite.)  (scfd.c)

Cleans up macros and formatting in a few more files.  (slzwce.c, sfxfd.c,
sfxstdio.c)

</pre><h3><a name="5.37_Library"></a>Library</h3><pre>

Fixes problems:
	- Landscape color images usually didn't display.  (bug introduced in
5.32)  (gxicolor.c)
	- If gs_heap_free_object was called with ptr != 0 but bp = 0 (which
is an error), an invalid memory access would occur.  (gsmalloc.c)
	- The left side bearing was still being added in a second time for
the accent of a seac.  (bug probably introduced in 5.20)  (gxtype1.c)
	- An access error occurred when rendering the very last glyph of a
TrueType font with a 2-byte loca table.  (gstype42.c)
	- In the fast portrait case of monochrome images, a numerical error
sometimes produced a 1-bit-wide vertical stripe of an incorrect color at the
right edge of the image.  (gxifast.c)
	- ImageType 3 images with InterleaveType = 3 gave memory access
errors.  (gximage3.c)
	- Hit detection ignored any part of the aperture that had negative X
or Y coordinates.  (gdevhit.c)
	- The special color mapping device didn't copy all necessary values
back from its target.  (gxdevice.h, gdevbbox.c, gdevcmap.c, gsdevice.c)
	- The special color mapping device didn't handle ordinary (Type 1)
images correctly.  (gdevcmap.c)
	- CMYK halftones complemented both the color and the halftone level:
this produced the right number of pixels turned on (only for linear spot
functions or threshold arrays), but wasn't consistent with either the Adobe
specification or the user's intentions.  (gxcht.c)
	- The phase of mask Patterns wasn't always set correctly.
(gxp1fill.c)
	- The reader side of overlapped band devices was confused about its
open/closed status.  (gdevprna.c)

Renames Type 32 fonts from ft_bitmap to ft_CID_bitmap.  (gxftype.h)

Adds some more tracing for composite font decoding.  (gsfcmap.c)

Adds some more tracing for images.  (gxiinit.c)

Cleans up formatting and macros in a few more files.  (gxifast.c)

Moves the image*_type_data and image*_enum_procs_data definitions from
header files into more appropriate .c files.  (gsiparm2.h, gsiparm3.h,
gsiparm4.h, gxiparam.h, gxiinit.c, gximage2.c, gximage3.c, gximage4.c)

</pre>

<hr>

<h2><a name="Version5.36"></a>Version 5.36 (beta) (8/25/98)</h2>

<p>
Another set of fixes.  The free-standing bbox device now produces convenient
%%BoundingBox messages.  This fileset also includes support for double-byte
TrueType fonts.

<h3><a name="5.36_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- There was a minor spacing glitch in one man page.  (gs.1)
	- The page printed by align.ps didn't make it clear enough what to
do with the numbers it asks users to calculate.  (align.ps)
	- The sample code for adding gamma adjustment didn't work most of
the time.  (devices.txt)
	- The prolog produced by pswrite was completely uncommented.
(gdevps.c)
	- The documentation didn't note that the string block freelist
(sfree) is sorted in address order.  (gxalloc.h)

Notes that FirstBitLowOrder and LowBitFirst are equivalent.  (slzwx.h)

Notes a change in the FTP site of the free Kanji ("Wadalab") fonts.
(fonts.txt)

Adds a pointer to the freely available Unicode CMaps.  (fonts.txt)

Changes an obsolete e-mail address for Carsten Emde.  (contrib.mak)

</pre><h3><a name="5.36_Utilities"></a>Utilities</h3><pre>

Fixes problems:
	- The viewgif utility sometimes left 1-scan-line gaps when rendering
interlaced images.  (viewgif.ps)

</pre><h3><a name="5.36_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- In the PDF writer, downsampled images were always written with 8
bits per sample, not the requested depth.  (gdevpsdi.c)
	- The 8-to-N-bit compression filter produced an extra byte at the
end of each row, and the N-to-8-bit expansion filter skipped an input byte
at the end of each row.  (gdevpsds.c)
	- In the PDF writer, the size of downsampled images for changing the
pixel width was set incorrectly, leading to inconsistent image parameters in
the output.  (gdevpsdi.c)
	- The subsampling filters didn't take a clear position about what to
do with excess input samples beyond a multiple of the reduction factor,
leading to inconsistent image parameters.  We added a Boolean to indicate
whether they should discard the samples or use them to create an additional
output sample.  (gdevpsds.h, gdevpsdi.c, gdevpsds.c)
	- The subsampling filters didn't provide the necessary set_defaults
procedures.  (gdevpsds.h, gdevpsds.c)
	- Because of a typo, pdfwrite and pswrite printed sequences of 4
decimal values wrong. (bug introduced during macro removal in 5.25)
(gdevpstr.c)

Makes the PS writer produce a %%HiResBoundingBox as well as a %%BoundingBox.
(gdevps.c)

</pre><h3><a name="5.36_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The Borland makefile didn't include the MT libraries.  We added a
MULTITHREAD option to this makefile.  (bcwin32.mak)
	- The MSVC makefile didn't include the MT switches in the right
place.  (msvccmd.mak)
	- 'make clean' in the Windows makefiles didn't clean up quite
enough.  (bcwin32.mak, msvc32.mak, msvccmd.mak)
	- The OS/2 makefile had gotten slightly out of date.  (os2.mak)

Cleans up some formatting.  (gp_win32.c)

</pre><h3><a name="5.36_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- Loading large TrueType fonts caused excessive garbage collection.
(gs_ttf.ps)

Finishes implementing support for turning double-byte TrueType fonts into
CIDFontType 2 fonts.  (gs_ttf.ps)

</pre><h3><a name="5.36_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- We thought the dictionary returned by currentuserparams should
always be allocated in local VM, but in fact the correct definition is that
it should be allocated in the current VM.  The simplest way to make this
work is for setuserparams to copy any string values into global VM.
(gs_lev2.ps)
	- 1-input stitching functions didn't allow k = 0.  (ifunc.h,
zfunc.c)
	- OtherSubrs defined in PostScript no longer worked.  (bug probably
introduced when we rewrote the Type 1 code in C) (zchar1.c)

Cleans up a few compiler warnings (missing empty 'default' cases, unused
variables).  (igc.c, iname.c)

Replaces some uses of RELOC_*_PTR (now deprecated) with RELOC_*_VAR.
(isave.c, iscan.c)

</pre><h3><a name="5.36_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Resources were re-created on each page, causing (sometimes a lot
of) unnecessary computation.  We implemented most of the machinery for
avoiding this, but not the mechanism for actually storing resources in
global VM.  (pdf_base.ps, pdf_main.ps)

Adds a little more debugging code.  (pdf_draw.ps)

</pre><h3><a name="5.36_Streams"></a>Streams</h3><pre>

Cleans up formatting in a few more files.  (sbtx.h, sfilter.h, slzwx.h,
spngpx.h, srlx.h, sstring.h, seexec.c, sfilter1.c, sfilter2.c, smtf.c,
spcxd.c, srld.c, srle.c)

Replaces a couple of #defines with duplicated (small) structures.  (sbtx.h,
sfilter.h, sfilter1.c, sfilter2.c)

Replaces all uses of RELOC_*_PTR (now deprecated) with RELOC_*_VAR.
(stream.c)

</pre><h3><a name="5.36_Library"></a>Library</h3><pre>

Fixes problems:
	- If a garbage collection occurred during a string show operation,
memory could be corrupted. (bug introduced in 5.24) (gstext.h, gstext.c)
	- A debugging check incorrectly indicated an error when
miter-checking lines with a 0 degree angle between them.  (gxstroke.c)
	- A structure created for bitmap/pixmap patterns was never freed.
(gspcolor.c)
	- Colored halftones didn't work with 24-bit devices.  (This case was
never actually used.)  (gxcht.c)
	- CIE colors didn't remap properly if the current color space was a
Pattern space.  (gscie.c)
	- In a non-garbage-collected environment, freeing a string in the
current chunk made an unnecessary test.  (Minor performance impact only.)
(gsnogc.c)

Cleans up a few compiler warnings (missing empty 'default' cases, unused
variables).  (gsht.c, gsht1.c, gshtscr.c, gsimage.c, gxacpath.c, gxclread.c,
gxicolor.c, gxshade4.c)

Replaces some uses of RELOC_*_PTR with RELOC_*_VAR.  (gsht1.c)

Changes the printed output of the free-standing bbox device so it produces
%%BoundingBox and %%HiResBoundingBox lines that can be dropped directly into
a DSC header.  (gdevbbox.c)

Speeds up the 4-bit case of copy_mono by about 30%.  (gdevm4.c)

Expands some macros and cleans up formatting, for easier reading and
debugging.  Speeds up the color halftone generation algorithm substantially
(up to 40%), by skipping the halftone computation for planes that are known
to be solid-color, and using copy_mono directly if only one plane is not
solid-color.  (gxcht.c)

</pre>

<hr>

<h2><a name="Version5.35"></a>Version 5.35 (beta) (8/18/98)</h2>

<p>
More updates for 5.3x, specifically fixing problems with halftones on banded
CMYK devices.

<h3><a name="5.35_Documentation"></a>Documentation</h3><pre>

Fixes problems:
	- The URLs for the third-party libraries were out of date.
(make.txt, jpeg.mak, libpng.mak, zlib.mak)

</pre><h3><a name="5.35_Drivers"></a>Drivers</h3><pre>

Adds an x11gray4 device for help in debugging.  (devs.mak, gdevxalt.c)

</pre><h3><a name="5.35_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- TrueType fonts with more than 64K of data before or after the
glyfs caused an error.  (gs_ttf.ps)

</pre><h3><a name="5.35_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The dictionary returned by currentuserparams was allocated in the
current VM rather than always in local VM.  (gs_lev2.ps)

</pre><h3><a name="5.35_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- CID-keyed fonts caused an error, because their CDevProc was
incorrect.  (pdf_font.ps)

</pre><h3><a name="5.35_Library"></a>Library</h3><pre>

Fixes problems:
	- A comment was duplicated.  (gxht.h)
	- The main procedure of the command list reader was so large that it
couldn't be optimized by many compilers, and was very hard to read.
(gxclrast.c)
	- Banding devices using multi-screen halftones could get memory
access errors because they didn't clear the halftone caches when changing
halftone parameters.  (gxclrast.c)
	- Banding devices using multi-screen halftones didn't set the
halftone phase correctly.  (gxcht.c, gxclrast.c)
	- RasterOp didn't work for 2- or 4-bit gray-scale devices.  It still
doesn't work right, but it's closer.  (gdevm2.c, gdevm4.c, gdevmrop.c)
	- Undefined characters in CMap-based composite fonts caused errors
and possible invalid memory accesses.  (gschar0.c)

</pre>

<hr>

<h2><a name="Version5.34"></a>Version 5.34 (beta) (8/16/98)</h2>

<p>
More updates for 5.3x.

<h3><a name="V5.34_Documentation"></a>Documentation</h3><pre>

Updates all of the man pages to new versions.  (gs-vms.hlp, gs.1, pdf2dsc.1,
pdf2ps.1, ps2ascii.1, ps2epsi.1, ps2pdf.1, ps2ps.1)

</pre><h3><a name="V5.34_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The MSVC library makefile incorrectly included gp_msio.c.
(msvclib.mak, winlib.mak)

</pre><h3><a name="V5.34_Drivers"></a>Drivers</h3><pre>

Fixes problems:
	- The PDF writer unnecessarily checked for other parameters after a
failing show or pdfmark.  (gdevpdfp.c)
	- The device's BufferSpace parameter was ignored.  (bug introduced
by async rendering code in 5.30) (gdevprn.c)
	- Banding devices smashed the first 4 bytes of each scan line.  (bug
introduced in 5.28) (gxdevmem.h, gdevmem.c, gxclread.c)
	- The phase for colored halftones was set wrong.  (We have "fixed"
this innumerable times, and it is still probably wrong.)  (gxclrast.c)

Replaces the deprecated gx_device_image_xxx calls with the new gx_image_xxx
calls.  (gdevpdfi.c, gdevps.c, gdevpx.c, gdevvec.c)

</pre><h3><a name="V5.34_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- The equality test for idiom recognition sometimes incorrectly
returned false.  (zmisc3.c)
	- shfill didn't take the BBox into account.  (It still doesn't.)
(gxshade.c)
	- The status operator could return an incorrect pages or bytes value
for files larger than 2 Gb, rather than giving an error.  (zfile.c)

</pre><h3><a name="V5.34_Library"></a>Library</h3><pre>

Fixes problems:
	- The hint tables weren't reset after processing the base character
of a 'seac', leading to incorrect hinting and (for Type 2 CharStrings)
possible mis-parsing of the outline data.  (gstype2.c)
	- When processing a 'seac', the left side bearing was added in
twice, displacing characters to the right.  (bug probably introduced in
5.20) (gstype1.c)
	- RasterOps didn't set the size of the RasterOp texture device,
which caused filling operations involving a colored halftone to be clipped
to an empty rectangle.  (gdevrops.c)
	- When filling with a colored halftone, the RasterOp source was
often disregarded.  (gxcht.c)
	- gx_device_image[_plane]_data and gx_device_end_image took an
unused dev argument, leading to potential confusion.  We deprecated the
gx_device_image_plane_data and gx_device_end_image procedures, replacing
them with macros that call their replacements gx_image_plane_data and
gx_image_end (which no longer have the spurious dev argument).  (gxdevcli.h,
gxdevice.h, gxiparam.h, gdevbbox.c, gdevddrw.c, gdevdflt.c, gsimage.c,
gslib.c, gxclimag.c, gxclrast.c, gximage2.c, gximage3.c, gximage4.c)
	- gs_color_adjust_count, introduced in 5.33 to address the problem
of freeing free-standing patterns, just made things worse.  We are replacing
them with gs_pattern_reference, essentially the procedure introduced in 5.31
that we deleted in 5.33.  (gsccolor.h, gspcolor.h, gscolor.c, gspcolor.c)

Changes hint suppression from a #define to a debugger-settable static.
(gxhint1.c)

</pre>

<hr>

<h2><a name="Version5.33"></a>Version 5.33 (beta) (8/14/98)</h2>

<p>
This is the third set of updates for 5.30.  These updates have been driven
mostly by the needs of another Aladdin project, so they haven't included as
many problem fixes as we would normally make.

<h3><a name="V5.33_Platforms"></a>Platforms</h3><pre>

Fixes problems:
	- The thread creation procedure for Win32 called a Windows function
rather than the proper C library function.  (gp_win32.c)
	- In some MS-DOS implementations, the copy command doesn't recognize
the /Y switch.  (bcwin32.mak)

</pre><h3><a name="V5.33_Fonts"></a>Fonts</h3><pre>

Fixes problems:
	- TrueType fonts with *less* than 64K of glyf data stopped working.
(bug introduced in 5.31) (gs_ttf.ps)

</pre><h3><a name="V5.33_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Using an Identity function left an extra element on the stack.
(pdf_draw.ps)
	- The syntax of # in names is different in PDF 1.1 and PDF 1.2, but
the PDF 1.2 syntax was always used.  (pdf_base.ps, pdf_main.ps)

</pre><h3><a name="V5.33_Library"></a>Library</h3><pre>

Fixes problems:
	- Color images still always caused an error. (bug introduced in
5.32) (gxicolor.c)
	- Because of a typo, the implementation of image types didn't
compile. (bug introduced in 5.32)  (gxiparam.h)
	- Free-standing colors (specifically pattern colors) and color
spaces couldn't be freed.  This required a NON-BACKWARD-COMPATIBLE change in
an internal API used for managing color and color space reference counts.
(gxcspace.h, gsccolor.h, gscdevn.c, gscolor.c, gscolor2.c, gscscie.c,
gscsepr.c, gscspace.c, gspcolor.c)

Cleans up a little more formatting.  (gscspace.h)

</pre>

<hr>

<h2><a name="Version5.32"></a>Version 5.32 (beta) (8/13/98)</h2>

<p>
This is the second set of updates for 5.30.

<h3><a name="V5.32_Procedures"></a>Procedures</h3><pre>

Fixes problems:
	- The OS/2 makefile accidentally omitted the OS/2-PM driver.
(os2.mak)
	- The MSVC library makefile didn't work.  (msvclib.mak)
	- Debugging was turned on in the Borland Windows makefile.
(bcwin32.mak)
	- The BEGINFILES2 list was too long in the MSVC makefile.
(msvc32.mak)

</pre><h3><a name="V5.32_Interpreter"></a>Interpreter</h3><pre>

Fixes problems:
	- .execn wouldn't accept pseudo-operators.  (iref.h)
	- inustroke with a matrix operand didn't work correctly.  (zupath.c)
	- ImageType 4 images didn't work.  (bug introduced in 5.31)
(zimage3.c)

</pre><h3><a name="V5.32_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes problems:
	- Forms used more than once caused an invalidaccess error.
(pdf_draw.ps)

</pre><h3><a name="V5.32_Library"></a>Library</h3><pre>

Fixes problems:
	- Using a colored pattern with a Pattern color space that included a
base space could access uninitialized floating point values, possibly
causing an arithmetic trap.  (gspcolor.c)
	- RasterOp wasn't implemented for 16- and 32- bit devices.
(gdevm16.c, gdevm32.c, gdevmrop.c)
	- The library test program relied on copysign, which some C
libraries lack.  (gslib.c)
	- The gs_free and gs_heap_free_all debugging printout were included
even if DEBUG wasn't defined. (bug introduced in 5.30) (gsmalloc.c)
	- Color images always caused an error. (bug introduced in 5.30)
(gxicolor.c)
	- Masked images with pis = NULL could cause an error.  (gximono.c)
	- In landscape orientation, masked images didn't guarantee that the
buffer of mask scan lines would be flushed to the mask clipping device
before processing the data being masked.  (gxiparam.h, gxidata.c, gxifast.c,
gximage3.c)
	- Images with source transparency set but CombineWithColor = false
could get an error because of trying to paint with an unloaded
color. (caused by a bug fix in 5.30) (gxdcolor.c, gxiinit.c)

</pre>

<hr>

<h2><a name="Version5.31"></a>Version 5.31 (limited) (8/11/98)</h2>

<p>
This is the first set of updates for 5.30.  They fix a few minor build
problems, and some significant problems with bitmap patterns that do not
affect the PostScript or PDF interpreters.

<h3><a name="V5.31_Drivers"></a>Drivers</h3><pre>

Moves some casting macros from generic files to the few specific files that
use them.  (gdev4693.c, gdevn533.c, gdevsnfb.c)

</pre><h3><a name="V5.31_Interpreter"></a>Interpreter</h3><pre>

Changes ImageType 4 images to match the change in the library interface.
(zimage3.c)

</pre><h3><a name="V5.31_Library"></a>Library</h3><pre>

Fixes bugs:
	- The MaskColor elements of ImageType 4 images were defined as int
rather than uint, truncating the range by 1 bit and causing problems in
comparing the mask color against the pixel samples.  (gsiparm4.h,
gximage4.c)
	- A needed cast was missing from gs_malloc_memory_release.
(gsmalloc.h)
	- A needed cast from byte to char was missing.  (gsparams.c)
	- Patterns always allocated a mask for rendering, which for large
patterns specified directly as bitmaps allocated a lot of unnecessary
memory.  (gxcolor2.h, gspcolor.c, gxp1fill.c, gxpcmap.c)
	- Macros simply defining casted versions of variables made the code
hard to debug.  We have only removed the ones that are in generic code (not
drivers) and that cast pointers to gx_device or its subclasses: the only
ones removed from header files were prn_dev in gdevprn.h, mdev in gdevmem.h,
and ccdev, crdev, and cwdev in gxcldev.h.  gdevmem.h, (gdevprn.h, gxclist.h,
gdevabuf.c, gdevm1.c, gdevm2.c, gdevm4.c, gdevm8.c, gdevm16.c, gdevm24.c,
gdevm32.c, gdevmpla.c, gdevnfwd.c, gdevprn.c, gxacpath.c, gxclimag.c,
gxclist.c, gxclpage.c, gxclpath.c, gxclread.c, gxclrect.c)
	- There was no way to free a pattern instance outside the graphics
state.  (gspcolor.h, gspcolor.c)

</pre>

<hr>

<h2><a name="Version5.30"></a>Version 5.30 (limited) (8/10/98)</h2>

<p>
This is the first beta candidate for the 5.50 release.  It completes the
merge of the overlapped rasterizing code into the main development line.

<h3><a name="V5.30_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Yves Arrouye's e-mail address was out of date.  (gdevbjc.h,
gdevcdj.c, contrib.mak, devices.txt, unix-lpr.txt)

Makes the warning against using SHARE_JPEG=1 even stronger.  (make.txt,
dvx-gcc.mak, ugcclib.mak. unix*.mak)

Removes information about using DCL files on VMS to build Ghostscript.
(make.txt)

Updates the documentation for begin_typed_image.  (drivers.txt)

</pre><h3><a name="V5.30_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The Unix build procedure didn't create the obj subdirectory
automatically.  (unixhead.mak, unix-end.mak)
	- gsdll_h wasn't defined for the OS/2 PM device.  Fixing this
properly required moving the OS/2 drivers into the same makefile as the MS
Windows drivers, and renaming the file.  (devs.mak, msdevs.mak =&gt; pcwin.mak,
winlib.mak)
	- gsiparm4_h was used before it was defined.  (lib.mak)
	- Building with shared libaries still used header files in
Ghostscript's directories, not the ones in /usr/include.  ****** NOT DONE
YET ******
	- The makefiles all assumed they were located in the current
directory, not in the source directory.  (*.mak)

Adds new 'debugclean' and 'pgclean' targets, parallel to 'debug' and 'pg',
for the Unix platforms.  (unix-end.mak)

Changes the management of .dev files so that on Unix platforms, one can
really maintain standard, debugging, and profiling builds simultaneously.
This is a hack, but a fairly reliable one.  (gs.mak, unixhead.mak,
unix-end.mak)

Adds a dummy thread / semaphore / monitor implementation to all platforms
other than Windows.  (dvx-tail.mak, openvms.mak, os2.mak, ugcclib.mak,
unixtail.mak, watc.mak, watclib.mak)

</pre><h3><a name="V5.30_Drivers"></a>Drivers</h3><pre>

Updates driver support to use the new write-position stream.  (gdevpsdf.c)

</pre><h3><a name="V5.30_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The Windows Registry calls didn't deal properly with a null
pointer.  (gp_wgetv.c)

Makes a small change in the platform semaphore / monitor API.  (gpsync.h,
gxsync.h, gp_win32.c, gxsync.c)

Adds a dummy thread / semaphore / monitor implementation.  Note that with
this implementation, async rendering WILL NOT WORK.  (gp_nsync.c)

Adds pthreads thread creation and POSIX semaphores for Unix platforms.  (We
still need to add System V semaphores, which is all that is available on
Solaris and BSDI.)  (gp_semon.c, gp_posem.c, gp_pthr.c).

</pre><h3><a name="V5.30_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- CIDFontType 0 fonts didn't select the proper VM space for adding
entries to font dictionaries, and for loading Subrs strings.  (gs_cidfn.ps)
	- TrueType fonts with an odd glyfs length didn't work.  (gs_ttf.ps)
	- TrueType fonts with a Format 3 'post' table didn't work.
(gs_ttf.ps)
	- TrueType fonts where the encoding in the 'post' table didn't cover
the entire set of glyfs didn't work.  (gs_ttf.ps)
	- TrueType fonts with more than 128K of glyfs didn't work.
(gs_ttf.ps)
	- TrueType cmap format 6 didn't work.  (gs_ttf.ps)
	- CIDFontType 0 fonts with hex data didn't skip over the &gt; at the
end of the data.  (gs_cidfn.ps)

</pre><h3><a name="V5.30_Interpreter"></a>Interpreter</h3><pre>

Works around the fact that gs_shfill can't do a gs_setcolorspace for color
spaces that require interpreter assistance.  (gs_ll3.ps)

Moves clipsave and cliprestore to C code.  (gs_ll3.ps, zmisc3.c)

Updates some files to reflect the redivision of gsmemory.h and gsstruct.h.
(imemory.h, istruct.h, ialloc.c)

</pre><h3><a name="V5.30_Streams"></a>Streams</h3><pre>

Adds a stream that just keeps track of the write position.  (stream.h,
stream.c)

Removes the compilation dependency that required all clients of the zlib
filters to be compiled with the zlib source directory in the search path.
(szlibx.h, szlibxx.h, szlib[cde].c)

</pre><h3><a name="V5.30_Library"></a>Library</h3><pre>

Fixes bugs:
	- ImageType 4 images with &gt;1 input component didn't work.
(gximage4.c)
	- Sampled functions didn't keep the fractional part when
interpolating, possibly leading to infinite recursion in shading.
(gsfunc0.c)
	- The color error value for shadings was computed incorrectly for
CIE color spaces.  (gxshade.c)
	- The CharstringType 2 'roll' operator rolled the operands in the
wrong direction.  (gstype2.c)
	- Images with RasterOp or transparency didn't retain the current
color properly, leading to unpredictable results.  (gdevmrop.h, gsropt.h,
gdevddrw.c, gdevrops.c, gxdcolor.c, gxiinit.c, gximage3.c)
	- A cast to void * was needed to remove a const modifier.
(gscrdp.c)
	- On 8-bit non-gray-scale devices, RasterOp values of all-0s or
all-1s produced the wrong output.  (gdevmrop.c)
	- The GC procedure for halftone screen enumerators was wrong,
possibly causing invalid memory access errors.  This bug predates 5.10.
(gshtscr.c)
	- An extra pair of string quotes confused some compilers.
(gsshade.c)
	- There were several errors in the CharstringType 2 'flex'
operators.  (gstype2.c)
	- The structure descriptors for devices weren't initialized in
library-only configurations.  (int.mak, gconf.c)
	- The Pattern cache got confused if the current device when a
Pattern color was used wasn't the same as the current device when the
Pattern instance was created.  (gxpcmap.c)
	- The target of forwarding devices wasn't reference-counted
properly.  (gsdevice.c) ****** FIXING THIS PROPERLY WILL BE A LOT OF WORK:
WE ONLY FIXED gs_setdevice_no_erase ******
	- As a result of fixing a typo, the structure declaration for
gx_page_queue was private, causing clients not to compile.  We left it
private and added an instance allocation procedure.  (gxpageq.h, gdevprna.c,
gxpageq.c)
	- The mask for ImageType 3 images was clipped (incorrectly).
(gximage3.c)
	- Interpolated images with negative X-&gt;X values in the CTM were
displaced on the page.  (gxiscale.c)

Finishes integrating the asynchronous rendering code.  (gpsync.h, gxclist.h,
gdevprna.c, gsmemlok.c, gxclimag.c, gxclpath.c, gxclutil.c)

Updates the memory manager API for additional flexibility needed for
asynchronous rendering.  (gsmalloc.h, gsmemlok.h, gsmemraw.h, gsalloc.c,
gsmalloc.c, gsmemlok.c)

Updates the standard memory manager to work with a fixed (externally
supplied) set of chunks, needed for asynchronous rendering, removing some
macros in the process.  (gsalloc.h, gsalloc.c)

Updates some code to use more mnemonic variable names.  (gstype2.c,
gxicolor.c)

Removes some macros for better readability.  (gdevmrop.c)

Adds dummy implementations of clipsave and cliprestore.  (gsclipsr.h,
gsclipsr.c)

Implements an alternative, but completely untested, parameter list
serializer based on streams.  (gsparam2.c)

Moves more of the internal memory manager structures from gsmemory.h to
gsstruct.h.  (gsmemory.h, gsstruct.h, gsmemory.c)

</pre>

<hr>

<h2><a name="Version5.28"></a>Version 5.28 (limited) (8/3/98)</h2>

<p>
This fileset almost finishes merging in the code for overlapped
("asynchronous") interpretation and rasterizing that gave rise to the
side-branch versions 5.13 and 5.14; eliminates all initialized non-constant
globals from the graphics library (but not from the interpreter); and adds a
few more LanguageLevel 3 features (CIEBasedDEF[G] color spaces, CloseSource
and CloseTarget for streams, Separation base space for Indexed color
spaces).

<p>
We were not originally planning to produce another fileset until the code
merge was completed; however, the schedule demands of another Aladdin
project justify another intermediate fileset.

<h3><a name="V5.28_Documentation"></a>Documentation</h3><pre>

Notes that the MSVC++ 5.0 compiler may lock up when compiling gxi12bit.c
with optimization.  (make.txt)

</pre><h3><a name="V5.28_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- psl3 didn't include fzlib.  (int.mak)
	- The Windows makefile had the wrong name for a DLL.  (winint.mak)
	- The Borland Windows makefile had several errors.  (bcwin32.mak)

At the request of a user, changes the creation of jconfig.h so it #includes,
rather than copies, arch.h.  (jpeg.mak, gsjconf.h)

</pre><h3><a name="V5.28_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- viewpbm.ps scaled the image wrong.  (viewpbm.ps)

</pre><h3><a name="V5.28_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- clist_close was declared as an open proc rather than a close proc.
(As it happens, this didn't make any difference.)  (gxclist.c)
	- A comment was improperly terminated.  (gxpageq.h)
	- A needed #include of memory_.h was missing.  (gdevpsde.c)

Integrates nearly all the rest of the code for asynchronous rendering.
(gdevprn.h, gdevprna.h, gxcldev.h, gxclist.h, gxclpath.h, gxclmem.h,
gdevbmpa.c, gdevprn.c, gdevprna.c, gxclbits.c, gxclimag.c, gxclist.c,
gxclmem.c, gxclpath.c, gxclread.c, gxclrect.c)

Changes tracing of memory-based clists to occur only if -Z: is selected,
rather than always if the code was compiled with -DDEBUG.  Note that this is
a NON-BACKWARD-COMPATIBLE CHANGE (but only affects debugging).  (gxclmem.c)

Implements the NumCopies parameter for all page devices, not just printers.
(gxdevcli.h, gxdevice.h, gdevprn.c, gsdparam.c)

Splits off command list writing utilities into a separate file, since
gxclist.c was getting too large.  (gxclist.h, gxclist.c, gxclutil.c)

Splits command list reading into control (gxclread.c) and the actual list
interpreter (gxclrast.c), since the file was getting too large.  (gxcldev.h,
gxclrast.c, gxclread.c)

Distinguishes dev_proc_* (defining a general driver procedure) from
prn_dev_proc_* (defining a printer driver procedure).  Unfortunately, we
have to keep dev_proc_print_page and _print_page_copies for backward
compatibility.  (gdevprn.h)

Splits out of the BMP driver the parts shared with the async version
(gdevbmp.h, gdevbmp.c, gdevbmpc.c).

Changes the band rasterizer to implement get_bits_rectangle rather than
get_bits.  In some cases, this results in much less computation.
(gxclist.c, gxclread.c)

Makes the monochrome H-P printer drivers emit a printer reset when closing
the device.  According to a user, this helps prevent the ink nozzles from
clogging.  (gdevdjet.c)

</pre><h3><a name="V5.28_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The Windows DLL entry point procedure didn't return a value as it
was supposed to.  (gp_mswin.c)

Removes all remaining initialized but non-constant globals, and ensures that
all non-debugging-related BSS variables in the library are explicitly set to
0 at initialization time.  (gp_unix.c)

Improves an error message slightly.  (dwmainc.cpp)

</pre><h3><a name="V5.28_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The tracing code for restore_resources could access an invalid
address.  (isave.c)
	- sizeof(procedure) is not allowed in ANSI C++.  (opdef.h,
iccfont.c, interp.c, ireclaim.c)
	- A variable was declared incorrectly as bin_token_type_t rather
than bin_seq_type_t.  (iscanbin.c)
	- The behavior of copypage didn't change in LanguageLevel 3.
(gs_init.ps)
	- When grestore et al reactivated a page device, they performed an
initgraphics, which should only be performed by showpage.  (gs_setpd.ps)
	- The RunLengthEncode filter was broken in cases where the caller
supplied a record size.  (bug introduced in 5.2x) (zfilter.c)
	- A needed #include of memory_.h was missing.  (zfreuse.c)
	- On machines with sizeof(long) &gt; sizeof(int), the dictionary form
of image and imagemask didn't work.  (bug introduced in 5.2x) (zimage2.c)
	- exitserver left a 'true' on the operand stack.  (gs_lev2.ps)

Replaces the STACK_LOOP_BEGIN/END macros with procedures.  (We retain the
macros for backward compatibility.)  (istack.h, istack.c, zchar.c,
zcontrol.c, zdict.c, zvmem.c)

Reviews the remaining operator files for ease of reading / debugging,
including removing macros where appropriate.  (z*.c)

Changes the dictionary stack printer to indicate whether the dictionary is
allocated in global or local VM.  (gs_init.ps)

Redefines countexecstack and execstack as operators, solely for the sake of
the Genoa [count]execstack tests.  (gs_init.ps, zcontrol.c)

Changes array/string/packedarray forall not to keep an index on the stack,
solely for the sake of the Genoa [count]execstack tests.  (zgeneric.c)

Finishes implementing CIEBasedDEF[G] color spaces.  (icie.h, zcie.c)

Adds a ColorSpace resource instance for sRGB.  (gs_lev2.ps, gs_res.ps)

Implements CloseSource and CloseTarget for filters.  ****** DOESN'T WORK IF
AN EXCEPTION OCCURS DURING A NESTED CLOSE. ****** (zfile.c)

Allows Separation and DeviceN color spaces as the base space for an Indexed
color space.  (zcsdevn.c, zcsindex.c, zcssepr.c)

</pre><h3><a name="V5.28_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- In PDF files, Indexed color spaces with a CIEBasedABC base space
gave an /undefined error.  (pdf_draw.ps)

</pre><h3><a name="V5.28_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The report_error member of the DCT streams wasn't initialized
early enough.  (ifilter.h, zfdctd.c, zfdcte.c, zfile.c)

Changes the zlib filters to use the stream's allocator, rather than the
default allocator, for their private storage.  Note that this requires the
stream itself to keep pointers to this storage, for garbage collection.
(szlibx.h, szlibc.c, szlibd.c, szlibe.c)

Updates some clients to use new, simpler GC structure descriptors.  (sdct.h,
sfilter.h, sdctc.c, sfilter1.c)

Adds a close_strm member for the interpreter's use (CloseSource /
CloseTarget).  (stream.h, stream.c)

</pre><h3><a name="V5.28_Library"></a>Library</h3><pre>

Fixes bugs:
	- gstate, currentgstate, and setgstate didn't handle the effective
clip path properly, possibly leading to dangling pointers.  (gsstate.c)
	- setrasterop, setsourcetransparent, and settexturetransparent
should all return int rather than void, since they can fail.  (gsrop.h,
gsrop.c)
	- FunctionType 1 functions didn't clip the output value to the
Range.  (gsfunc3.c)
	- A needed cast from byte * to char * was missing.  (gscrdp.c)
	- Some needed #includes of *_.h were missing.  (gscrd.c, gscrdp.c,
gxshade6.c)
	- The prototype for gx_effective_clip_path wasn't #included in a
needed place.  (gsimage.c)
	- RasterOp sometimes didn't work properly for devices whose
representation of white wasn't a pixel value of 0.  (gxdcolor.h, gdevbbox.c,
gdevdbit.c, gdevvec.c, gslib.c, gxdcolor.c)
	- The variable used to detect double declaration of
gs_get_bits_params_t was named incorrectly.  (gxdevcli.h, gxgetbit.h)
	- gs_[eo]clip never retained the clipping path in its original form.
These routines now retain it in the simple case (the old clipping path is a
rectangle, and the new path is completely contained within it).  This
requires a small NON-BACKWARD-COMPATIBLE change in the gx_cpath_intersect
procedure: it no longer updates the new path, and it flattens the path if
needed.  To avoid problems, we renamed this procedure as gx_cpath_clip.
(gsdps.c, gspath.c, gxcpath.c)
	- If the image was empty, gs_image_common_init didn't free the
lower-level enumerator.  (gsimage.c, gxccache.c)

Removes all remaining initialized but non-constant globals, and ensures that
all non-debugging-related BSS variables in the library are explicitly set to
0 at initialization time.  (gxdevice.h, gconf.c, gsdevice.c, gshtscr.c,
gsiodev.c, gsutil.c, gxcht.c)

Finishes implementing table-driven GC descriptors.  We expected it to save
considerable space at negligible time cost; it actually shrank the 1Mb
executable by only about 5K, and slowed down garbage collection by about
2%. (gsfcmap.h, gsstrtab.h [deleted], gsstruct.h, gzpath.h, gsfcmap.c,
gsmemory.c, gsstrtab.c [deleted])

Finishes implementing CIEBasedDEF[G] color spaces.  (gscie.h, gscie.c)

Simplifies some code by removing or redefining macros.  (gxi12bit.c)

Removes all patches made for easier retrofitting of 5.2x code into 5.1x
filesets.  (gdevdrop.c, gdevmrop.c, gslib.c, gspcolor.c)

Reviews a few more files for style and readability.  (gxbitfmt.h,
gxgetbit.h)

Allows Separation (and, if included, DeviceN) color spaces as the base space
of an Indexed color space.  Unfortunately, this involves introducing a new
distinction in color space types, which entails NON-BACKWARD-COMPATIBLE
changes in the color space and color space type structures.  (gxcspace.h,
gscdevn.c, gscolor1.c, gscolor2.c, gscpixel.c, gscscie.c, gscsepr.c,
gscspace.c, gspcolor.c)

Makes a small addition in order to fix an interpreter bug.  (gxfixed.h,
gdevbbox.c)

</pre>

<hr>

<h2><a name="Version5.27"></a>Version 5.27 (limited) (7/18/98)</h2>

<p>
This is another "in-flight" snapshot made in preparation for the 5.2x / 5.1x
code merge.  It completes the driver CRD API.

<h3><a name="V5.27_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The reference to psview was out of date.  (new-user.txt)

Adds some pointers to Aladdin Ghostscript mirror sites.  (new-user.txt)

Updates the C style guide a little further.  (c-style.txt)

Adds documentation on driver-supplied CRDs.  (drivers.txt)

Updates the JPEG makefile to mention IJG release 6b.  (jpeg.mak)

Updates documentation to reflect the devs.mak / contrib.mak split.  (README,
devices.txt, drivers.txt, make.txt, new-user.txt, source.txt, use.txt)

</pre><h3><a name="V5.27_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- sjpegerr.o was needed even when using the shared JPEG library.
(jpeg.mak)

Changes the name of the jpeg library directory from jpeg-&lt;version&gt; to just
jpeg, to parallel libpng and zlib.  (make.txt, *.mak)

Creates a separate makefile for contributed drivers.  Eventually these
drivers will go in a separate directory.  (devs.mak, contrib.mak, *.mak)

</pre><h3><a name="V5.27_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The pkm driver was absurdly inefficient.  (gdevpbm.c)
	- The psfax driver (which, admittedly, doesn't come close to
working) no longer compiled.  (gdevpfax.c)
	- The ARCHAIC mode of the Epson driver emitted an incorrect
character ('r' instead of ^R).  (gdevepsn.c)
	- The X driver didn't check the calls of XInitImage for error
status.  (gdevx.c)

Updates a client for the change in the names of the gb_ values.  (gdevx.c)

Updates a client for the added param_request procedure.  (gdevpsdf.c)

Reformats all Aladdin-maintained drivers to the new Ghostscript standard
format, using indent.  We deliberately did not reformat user-contributed
drivers, since indent mangles a line once in a while and we do not want to
take responsibility for fixing others' code.  (*.h, *.c)

Adds a default CRD specification to the 'bit' device, for testing.
(gdevbit.c)

Integrates a bit more of the support code for asynchronous rasterizing.
(gxband.h, gxclio.h, gxclist.h, gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c,
gxclread.c, gxpageq.h, gxpageq.c)

</pre><h3><a name="V5.27_Platforms"></a>Platforms</h3><pre>

Adds thread support to the Win32 platform.  (gp_win32.c)

</pre><h3><a name="V5.27_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Composite fonts with CID-keyed descendants didn't run the
BuildGlyph procedure.  (zchar.c)
	- The internal representation of CMaps was built incorrectly.
(zfcmap.c)
	- Category resources didn't load from files automatically.
(gs_res.ps)

Reformats all files to the new Ghostscript standard format, using indent.
(*.h, *.c)

Reviews most of the operator files for ease of reading / debugging,
including removing macros where appropriate.  (z*.c)

Updates a client for the change in the names of the gb_ values.  (zdevice.c)

Updates a client for the added param_request procedure.  (iparam.c)

Updates clients for the completion of the CRD API.  (zcie.c, zcrd.c)

Increases the initial size of systemdict a little more, to allow for -d and
-s.  (iinit.c)

</pre><h3><a name="V5.27_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Text modes other than 0 didn't work with multiple-byte fonts.
(pdf_ops.ps)
	- There were many bugs in the code for Type 0 and CIDFontType 0
fonts.  (pdf_font.ps)

</pre><h3><a name="V5.27_Library"></a>Library</h3><pre>

Fixes bugs:
	- cshow returned a character code of -1 for composite fonts with
FMapType 9 (CMap-based).  (gsfcmap.h, gschar0.c, gsfcmap.c)
	- The GC procedure for enumerating show enumerators was broken.
(bug introduced in 5.24 or 5.25) (gschar.c)
	- dashpath always copied the path, instead of only copying it if
needed.  (gspath1.c)
	- The hint replacement fix in 5.24 sometimes thought a path was
closed when it wasn't, producing gross distortions of some characters.
(gxhint3.c)

Cleans up code for debugging by expanding macros, etc.  (gstext.h,
gschar0.c)

Changes the gb_ values to all caps, in line with general C convention.  This
is a NON-BACKWARD-COMPATIBLE change to an as yet rarely-used API.
(gxbitfmt.h, gdevalph.c, gdevdgbr.c, gdevmem.c, gsalphac.c, gximage2.c)

Enhances the default implementation of parameter lists to allow requesting
individual parameters.  This is needed for the driver CRD API.  (gsparam.h,
gscparam.c, gsparam.c)

Completes the API for driver CRDs, also moving some code from gscie.c to
gscrd.c.  This involves a NON-BACKWARD-COMPATIBLE change in the prototype of
the TransformPQR procedures.  (gscie.h, gscrd.h, gscrdp.h, gscie.c, gscrd.c,
gscrdp.c)

Reformats all files to the new Ghostscript standard format, using indent.
(*.h, *.c)

Splits up gdevmrop.c into 3 files: gdevmrop.c (RasterOp implementation for
memory devices), gdevdrop.c (default and device-independent RasterOp
algorithms), and gdevrops.c (RasterOp-source device).  (gdevmrop.h,
gdevdrop.c, gdevmrop.c, gdevrops.c)

</pre>

<hr>

<h2><a name="Version5.26"></a>Version 5.26 (limited) (7/7/98)</h2>

<p>
The purpose of this fileset is to add an API for drivers to provide one or
more device-appropriate CIE rendering dictionaries.  Like 5.25, it is a
"snapshot" fileset not made available even to beta testers.

<h3><a name="V5.26_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- An !endif was omitted.  (msvc32.mak)
	- A newly needed Windows library was omitted.  (msvctail.mak)
	- The /Za and /Ze switches were set incorrectly for MSVC.
(bcwin32.mak, msvccmd.mak, watcw32.mak, winint.mak, winlib.mak)

</pre><h3><a name="V5.26_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A closing bracket was omitted (in code that is ifdef'd out).
(gdevpdf.c)

</pre><h3><a name="V5.26_Fonts"></a>Fonts</h3><pre>

Changes the font loader so that instead of pushing systemdict and a small
empty dictionary on the stack before loading a font, it pushes userdict.
This is what Adobe interpreters do, but this will probably break some
PostScript files, specifically ones that redefine 'index'.  I don't see how
the Adobe interpreters can possibly do the right thing for such files.
(gs_fonts.ps, gs_type1.ps)

</pre><h3><a name="V5.26_Interpreter"></a>Interpreter</h3><pre>

Updates clients for changes in CRD API.  This involves some changes in
internal procedures.  (gs_lev2.ps, icie.h, zcie.c, zcrd.c)

</pre><h3><a name="V5.26_Library"></a>Library</h3><pre>

Fixes bugs:
	- Pickling string, name, and array parameters tried to force
inappropriate alignment.  (gsparams.c)
	- Pickling dictionary parameters wrote the result in the wrong
place.  (gsparams.c)
	- An occurrence of dev_t should have been gx_device.  The compiler
didn't catch this because there happens to be a type named dev_t in
&lt;types.h&gt; (!).  (gxclread.c)

Adds an API for drivers to provide one or more CRDs (as device parameters).
Makes a small but NON-BACKWARD-COMPATIBLE change in the names and argument
lists of the existing CRD API (which is not used by anything in the standard
configuration).  (gscie.h, gscrd.h, gscrdp.h, gscie.c, gscrd.c, gscrdp.c,
gslib.c)

</pre>

<hr>

<h2><a name="Version5.25"></a>Version 5.25 (limited) (7/1/98)</h2>

<p>
This is a "snapshot" fileset created for the purpose of merging with a
separate development branch.  While it fixes some significant bugs in 5.24,
it doesn't represent substantial additional progress.

<h3><a name="V5.25_Documentation"></a>Documentation</h3><pre>

Completely rearranges the C style guide, updates it to reflect current
practice, and adds a 1-page summary of the most important points.
(c-style.txt)

Updates the man pages for consistency and to correct minor errors.  (*.1)

Notes that the pjxl300 driver works with the H-P CopyJet.  (devices.txt,
devs.mak).

Notes that in order to deal with over-zealous Solaris security checking,
additional linker switches are needed.  (make.txt, unix*.mak)

</pre><h3><a name="V5.25_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- 'make install' didn't get the executable from the right place.
unixinst.mak)
	- COMPILE_INITS=1 didn't work.  (int.mak, geninit.c)
	- The MSVC makefile updates hadn't been applied to the MSVC-only
devices.  (devs.mak)
	- The other PC makefiles didn't define GLCCWIN.  (bcwin32.mak,
watcw32.mak)

Adds bounding box testing to the library test program.  (ugcclib.mak)

Reviews and reformats code for maintainability.  (genarch.c, geninit.c)

Moves the MS Windows-specific devices to a new file.  (bcwin32.mak,
devs.mak, msdevs.mak, msvc32.mak, watcw32.mak)

</pre><h3><a name="V5.25_Platforms"></a>Platforms</h3><pre>

Reviews and reformats header files for maintainability.  (vmsmath.h,
windows_.h)

Removes some no-longer-used files from the fileset.  (overlay.h, gp_itbc.c)

</pre><h3><a name="V5.25_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- Substituted fonts had their FontName set to the requested one.
There was a comment in the code saying that some files that depend on this
happening, but Adobe implementations don't do it.  However, aliased fonts in
Fontmap will continue to have the FontName set to the Fontmap key.
(gs_fonts.ps)

Adds the euro symbol at position 240 (0360) in SymbolEncoding.  This is a
PostScript 3 addition, but it's too much work to make it appear there only
if languagelevel &gt;= 3.  (gs_sym_e.ps)

</pre><h3><a name="V5.25_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The bbox device didn't work if its target was itself a forwarding
device.  (gdevbbox.c)
	- User parameters maintained at the PostScript (as opposed to VM)
level didn't work.  (gs_init.ps)
	- Idiom recognition didn't work.  (gs_init.ps, gs_ll3.ps, zmisc3.c)
	- .beginpage and .endpage could cause an error if the current device
was a page device but was installed with setdevice rather than
setpagedevice.  (gs_setpd.ps)

In the interest of readability, replaces all casting macros with separate
variables, other than those used in enum_ptrs and reloc_ptrs procedures.
Note that doing this for rptr in gc_trace in igc.c will have a significant
performance cost on Intel CPUs, unless the compiler has a very good
optimizer, because it introduces another variable competing for scarce
registers in the most performance-critical section of code in the garbage
collector.  (ialloc.c, igc.c, iparam.c, isave.c, istack.c, zchar42.c,
zfproc.c, zusparam.c)

Changes some macros to procedures.  (igc.c, ilocate.c, zusparam.c)

Changes some macros to static quasi-constants (only variable for debugging).
(zvmem.c)

Adds #include "errors.h" to oper.h, removing it from z*.c.  (oper.h, z*.c)

Reviews and reformats some header files for maintainability.  This is an
ongoing project.  (bfont.h, errors.h, iinit.c)

Consolidates and simplifies the reading and writing of binary tokens and
binary object sequences.  (bseq.h [deleted], btoken.h, ibnum.h, ibnum.c,
iscanbin.c, zbseq.c)

Adds dummy user and system parameter entries for all the parameters listed
in Appendix C of the PostScript Red Book: even though the book clearly says
that no PostScript program should rely on the presence of any particular
parameter, PostScript files routinely assume the existence of the parameters
listed in Appendix C.  (gs_init.ps, gs_lev2.ps, gs_res.ps)

Adds dummy user and system parameter entries for the new parameters listed
in the 3010 Supplement.  (gs_ll3.ps)

Adds double-inclusion protection to all header files.  (*.h)

Moves the creation of binary object sequence headers from C to PostScript
code.  (zbseq.c, gs_btokn.ps)

Adds support for multiple FormTypes and ColorRenderingTypes.  (gs_init.ps,
gs_lev2.ps, gs_res.ps, zcrd.c)

Updates structures and clients for the introduction of "raw memory"
allocators.  (ialloc.h, igc.h, ialloc.c, imain.c, isave.c)

In the interest of readability and being able to use GNU indent to create
standard formatting, changes the operator tables from procedures back to
data structures.  This change is backward-compatible for all operator files,
although we also edited all of Ghostscript's own operator definitions to
remove the BEGIN_OP_DEFS and END_OP_DEFS macros (which now have to generate
a little unnecessary code for backward compatibility). (opdef.h, iconf.c,
iinit.c, iutil.c, z*.c)

Splits zchar2.c into a Level 1+ part and a Level 2 part.  (zcfont.c,
zchar2.c)

</pre><h3><a name="V5.25_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Adds font synthesis based on the FontDescriptor.  Currently this is very
rudimentary.  (pdf_font.ps)

</pre><h3><a name="V5.25_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The PDF writer didn't default to A4 paper size if A4 was selected
as the default in the makefile.  (gdevpdf.c)
	- The default implementation of the begin_image procedure always
called the image's begin_image implementation, rather than the device's
begin_typed_image implementation.  (gdevddrw.c)
	- The bbox device didn't initialize its reference count.
(gdevbbox.c)
	- A necessary cast was omitted.  (gdevpsde.c)

Changes some macros to procedures.  (gdevpstr.h, gdevpstr.c)

Adds an internal device to implement the PCL5 special color mapping
algorithms.  (gdevcmap.h, gxdevice.h, gdevcmap.c, gdevnfwd.c)

Adds double-inclusion protection to all header files.  (*.h)

Updates drivers for the change in begin_image.  (gdevbbox.c, gdevpdfi.c,
gdevvec.c, gxclimag.c)

</pre><h3><a name="V5.25_Library"></a>Library</h3><pre>

Fixes bugs:
	- The non-ANSI definitions of CLEAR_MARKS_PROC, ENUM_PTRS_BEGIN_PROC
and RELOC_PTRS_BEGIN were missing a parameter.  (gsstruct.h)
	- A few necessary casts were omitted.  (gsparam.c, gxpcmap.c)
	- Images or Patterns with non-default RasterOps could cause crashes.
(gdevmrop.c, gxp1fill.c)
	- Exponential Interpolation functions with non-integral positive
exponents incorrectly required the lower bound of the domain to be strictly
positive rather than only non-negative.  (gsfunc3.c)
	- The attempt to achieve the desired color smoothness when shading
could compute (nearly) forever.  (gxshade.c, gxshade1.c)
	- The arc change in 5.24 caused arcs to render incorrectly.
(gspath1.c)
	- The macro-reducing cleanup in 5.24 introduced a bug in handling
copy operations with negative skew.  (gdevm1.c)

Adds unmasked images and bounding box testing to the library test program.
(gxdevcli.h, gslib.c)

Changes some macros to procedures.  (gxfunc.h, gsfunc.c, gsfunc0.c,
gsfunc3.c)

Adds double-inclusion protection to all header files.  (*.h)

Reviews and reformats header files for maintainability.  (*_.h, dodebug.h
[deleted])

Changes the structure of the common part of the image enumerator to include
the device (which may be different from the original device, because of
forwarding), and to access the procedures through a pointer to a const
structure.  This is a NON-BACKWARD-COMPATIBLE CHANGE for implementors of
begin_image, since they now must pass the device to
gx_image_enum_common_init.  (gximage.h, gxiparam.h, gdevddrw.c, gdevdflt.c,
gxiinit.c, gximage3.c, gximage4.c)

Adds tests of the new color mapping device to the library test program.
(gslib.c)

Removes the last vestiges of segmented pointers.  (genarch.c, std.h)

Introduces a "raw memory" API, primarily for managing the underlying memory
pool for embedded systems.  This involves a NON-BACKWARD-COMPATIBLE-CHANGE
in the implementation (but not ordinary clients) of allocators.
(gsmemory.h, gsmemraw.h, gxalloc.h, gsalloc.c, gsmalloc.c, gsmemory.c)

</pre>

<hr>

<h2><a name="Version5.24"></a>Version 5.24 (limited) (6/17/98)</h2>

<p>
In addition to the usual bug fixes, and a few enhancements where temptation
proved irresistible or in response to an external need, this fileset:
<ul>
<li>	- Takes the first steps on a major readability cleanup
	(4-space indentation instead of 2, replacement of macros by
	procedures, ....)

<li>	- Implements a bit more of the DPS functionality, including view
	clipping, and gstate stack copying for 'fork'.

<li>	- Starts to sketch a text API for drivers.

<li>	- Changes the Unix makefiles so that they create production
binaries
	in a separate directory.
</ul>

<p>
Again, there are some non-backward-compatible changes required by other
architectural improvements.  As always, we have tried to minimize the impact
of such changes on users' code.

<h3><a name="V5.24_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The -Kn switch wasn't documented.  (use.txt)
	- The term "Software" was used instead of "Program" in the last
paragraphs of the license.  (PUBLIC)

Adds a couple of missing operators to the list at the end of ostack.h.
(ostack.h)

Documents more precisely which gstate points to which objects after various
gstate operations.  (gsstate.c)

Corrects some addresses for the Free Software Foundation.  (commprod.txt,
new-user.txt)

Improves the documentation for memory management of color spaces.  (gscie.h,
gscolor2.h)

Updates the list of hardware available to Aladdin.  (new-user.txt)

Documents ReopenPerPage.  (language.txt)

Moves the documentation of image rendering procedures to a better place.
(gximage.h, gxiinit.c)

Clarifies that old slzwe.c files may not work with current Ghostscript
versions.  (make.txt)

</pre><h3><a name="V5.24_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- psl3.dev didn't include func.dev.  (int.mak)
	- device and device2 devices weren't sorted together, causing
devices to appear in the list out of order (including, possibly, selecting
the wrong device as default).  (genconf.c)
	- The mswindll module definition omitted some needed files.
(devs.mak)

Changes the optimization level for gcc from -O to -O2 for both standard and
profiling builds.  (unix-gcc.mak)

Defines 3 new makefile macros for the Unix platforms,
CFLAGS_{STANDARD|DEBUG|PROFILE}, that give the additional compiler switches
for these 3 compilation options.  (unixansi.mak, unix-cc.mak, unix-gcc.mak)

Changes the Unix makefiles so that by default they create the binaries in an
'obj' subdirectory of the source directory.  (unixansi.mak, unix-cc.mak,
unix-gcc.mak, unix-end.mak)

Updates the MSVC++ makefiles so they allow setting any configuration
parameter from the make command line.  (msvc32.mak, msvccmd.mak, msvccom.mak
[deleted], msvclib.mak, msvctail.mak)

</pre><h3><a name="V5.24_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- ps2ascii was broken.  (ps2ascii.ps)

Adds capability to gslp.ps:

	- Variable-width fonts (but without automatic line breaking);

	- Pair kerning (from AFM file);

	- Inter-character and space width adjustment.

This project was done for a paying customer.  (gslp.ps)

</pre><h3><a name="V5.24_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The name of the plan9bm device was wrong.  (gdevpbm.c)
	- The PDF writer wrote incorrect parameters for the CCITTFax filter
used to compress Type 3 font bitmaps.  (bug introduced in 5.23) (gdevpdfi.c)
	- The PDF writer emitted two 'endobj' lines for Type 3 bitmap fonts.
(gdevpdf.c)

Removes all remaining uses of _ds and _ss in Aladdin's drivers.  (gdevprn.h,
gdevsvga.h, gdevbit.c, gdevcgm.c, gdevdjet.c, gdevmsxf.c, gdevpbm.c,
gdevpccm.c, gdevpcfb.c, gdevpdfi.c, gdevprn.c, gdevsvga.c, gdevtfax.c)

Renames a local macro named END.  (gdevcgml.c)

Removes all uses of far_data other than for device (but not device2)
prototypes.  (gdevbit.c, gdevdjet.c, gdevemap.c, gdevmsxf.c, gdevpbm.c,
gdevpcfb.c, gdevpcx.c, gdevpdf.c, gdevpng.c, gdevps.c, gdevpsim.c, gdevpx.c,
gdevtfax.c, gdevtfnx.c, gdevvglb.c, gdevx.c, gdevxalt.c)

Adds a psrgb driver that writes PostScript (Level 2) planar,
run-length-compressed, 24-bit RGB images.  (gdevpsci.c)

Starts to define and implement a driver procedure for text.  This interface
will certainly change in the future as we get more insight into the division
of responsibility and control flow between generic code, individual drivers,
and internal and external fonts.  This involves a major
NON-BACKWARD-COMPATIBLE CHANGE in the gs_show_enum structure (which no
client should be accessing directly).  (gdevmem.h, gdevprn.h, gstext.h,
gxchar.h, gxdevcli.h, gxdevice.h, gxtext.h, gdevbbox.c, gdevht.c,
gdevnfwd.c, gschar.c, gschar0.c, gstext.c, gxacpath.c, gxclip.c, gxclip2.c,
gxclipm.c, gxclist.c, gxpcmap.c)

Extends the parameter list printer to handle names and arrays.  (gdevpsdf.c)

Implements the ability to write out a Type 1 font definition, for embedding
fonts in PDF output.  Currently this code isn't called from anywhere, and it
will certainly be subject to change in the future.  (gdevpsdf.h, gdevpdfi.c,
gdevpsde.c, gdevpsdf.c)

Adds the PCL XL Protocol Class 2.0 operators, attributes, and enumerated
values to the relevant header files.  (gdevpxat.h, gdevpxen.h, gdevpxop.h)

Converts some additional devices to -dev2, to make them const.  (devs.mak,
gdevjpeg.c)

To help in debugging, changes all uses of
	#define ss ((stream_xxx_state *)st)
to
	stream_xxx_state * const ss = (stream_xxx_state *)st;
(gdevpdfi.c, gdevpsdi.c, gdevpsdp.c, gdevpsds.c)

Massages mem_mono_copy_mono and mem_mono_strip_tile_rectangle to reduce the
use of macros somewhat.  (gdevm1.c, gdevmem.h)

Makes a change to support the change in gs_param_list_common.  (gdevpsdf.c)

Replaces all remaining uses of do { ... } while (0) with BEGIN ... END.
(gdevpdfm.c, gdevpx.c, gdevx.c, gdevxalt.c)

Adds a ReopenPerPage Boolean device parameter for printers, which causes the
output file to be closed and reopened for each page.  This may be helpful in
persuading spoolers to start printing as soon as the first page is
available.  (gdevprn.h, gdevprn.c)

Makes the %-format validator for output file names a procedure, even though
it's only called in one place.  (gdevprn.c)

Updates some clients for the change from std_procs to procs.  (gdevp2up.c,
gdevpbm.c, gdevupd.c,

Removes the use of the CleanFaxData tag (327) from TIFF output, since many
applications don't recognize it and it isn't in the TIFF 6 documentation.
(gdevtifs.h, gdevtfax.c)

</pre><h3><a name="V5.24_Platforms"></a>Platforms</h3><pre>

Adds a new gp_setmode_binary platform procedure, to set a file into binary
mode on platforms that distinguish text and binary.  (gp.h, gp_*.c)

</pre><h3><a name="V5.24_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- The derived (Bold, Oblique, ...) Hershey fonts were broken.
(fonts/makeher.ps, fonts/h*.ps)

</pre><h3><a name="V5.24_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- As always, gcc failed to report some signed/unsigned char *
mismatches.  (imainarg.c)
	- Some needed #includes were missing.  (zcrd.c, ztype.c)
	- Contexts were always allocated in global VM (should be local VM),
and were freed in the current VM (should be local VM).  Fixing this required
changing some internal interfaces defined in icontext.h.  (icontext.h,
icontext.c, interp.c, zcontext.c)
	- restore did some unnecessary gsaves.  (zvmem.c)
	- Creating a new context didn't initialize the graphics state
properly, and didn't do the first gsave that grestoreall relies on.
(gs_dps.ps)
	- The bookkeeping for open files didn't work with multiple contexts.
Fixing this required a substantial (simplifying) redesign of the
interpreter's bookkeeping for streams in general: this may have introduced
new bugs.  (files.h, ireclaim.c, isave.c, zfile.c)
	- fork didn't copy the graphics state stack.  (zcontext.c)
	- The space bits were set incorrectly in the array reference for the
operand stack, causing the garbage collector not to mark the operand stack
of contexts other than the current one.  (interp.c)
	- LanguageLevel 3 facilities weren't enabled when desired.
(gs_ll3.ps, ilevel.h, opdef.h, iinit.c, zcsdevn.c, zimage3.c, zmisc2.c,
zmisc3.c, zshade.c, ztrap.c)
	- flushfile with a procedure-target stream didn't pass the buffered
data to the procedure.  We tinkered with this a little, but it still isn't
fixed.  (zfilter.c, zfproc.c)
	- The top-level color space objects allocated by the CIE color space
setting operators were never freed (until garbage collection).  (zcie.c)
	- setpagedevice with a 0-size page didn't fail.  (gs_setpd.ps,
zmedia2.c)
	- If one or more of the matrices in a CIE color space or CRD was
singular, setcolorspace or setcolorrendering could cause a stackoverflow.
(zcie.c)
	- defineuserobject didn't work.  (I don't see how it could ever have
worked.)  (gs_dps2.ps)
	- The version string wasn't read-only.  (gs_init.ps, gs_lev2.ps,
gs_ll3.ps)
	- Some standard resource categories weren't defined (which they need
to be, even if they have no instances).  (gs_res.ps, gs_ll3.ps)
	- The Trapping ProcSet was empty.  (gs_ll3.ps)
	- setvmthreshold didn't accept a value of -1.  (gs_lev2.ps,
gs_pdfwr.ps, zusparam.c, zvmem2.c)
	- Binary tokens containing native reals with swapped byte order
didn't read in properly.  (ibnum.c, iscanbin.c)
	- In binary object sequences, many executable objects were
incorrectly written out as literal.  (zbseq.c)
	- String DataSources for shadings didn't work.  (zshade.c)
	- Parameter dictionaries with integer keys didn't work.  (iparam.c)
	- A "can't happen" condition caused massive confusion instead of a
rangecheck error.  (gs_setpd.ps)
	- setcachelimit and setcacheparams were broken, because they no
longer interacted correctly with setuserparams and setsystemparams.
(gs_lev2.ps)
	- The source width and height of images was arbitrarily limited to
32767.  (zimage2.c)
	- The optional dictionary parameter for filters was the last
operand, not the first.  (zfbcp.c, zfdecode.c, zfilter.c, zfilter2.c,
zfilterx.c, zfzlib.c)
	- If the current color space was Indexed, Separation using the
alternative space, or DeviceN using the alternative space,
currentgray/cmykcolor/hsbcolor/rgbcolor returned 0 rather than the
underlying color.  (This was a correction to the Red Book in the 3010
Language Supplement, Section D.2.4 and D.2.5.)  (gscolor.c, gscolor1.c,
gxcspace.h)

Implements some additional LanguageLevel 3 stream facilities:
	- CloseSource and CloseTarget (parsing only).  (ilevel.h, zfilter.c)
	- Dictionary argument for SubFileDecode.  (zfilter.c)
	- UnitSize (fully implemented) and LowBitFirst (parsing only) for
	LZWDecode. (zfdecode.c)
	- ReusableStreamDecode (incomplete).  (gs_ll3.ps, zfreuse.c)

Removes all remaining uses of _ds and _ss.  (bfont.h, errors.h, files.h,
icie.h, idict.h, idparam.h, ifunc.h, iscan.h, iutil2.h, opdef.h; iccfont.c,
idict.c, idparam.c, igc.c, iinit.c, iparam.c, iscan.c, iscannum.c, iutil2.c,
zcid.c, zcie.c, zdevice2.c, zfdecode.c, zfile.c, zfileio.c, zfont0.c,
zfont2.c, zfont42.c, zfunc.c, zht2.c, zusparam.c)

Removes the use of gs_if_debug_c.  (zvmem2.c)

Updates clients for the change in color space num_components.  (zcolor2.c,
zcsindex.c, zcssepr.c, zpcolor.c)

Changes the stack manager so it can ensure an unused margin above the top
element.  This is needed for a possible change in the operator API.
(istack.h, istack.c)

Decouples the definition of the interpreter instance from the definition of
the exported procedures that use it, so that we can use it in more places
internally.  (iminst.h, main.h)

Removes all initialization of static per-context state.  (iinit.c, iscan.c,
zmath.c)

Makes the freeing of VM spaces entirely dependent on the number of contexts
referencing them, removing the special handling of interpreter termination.
(icontext.h, gsalloc.c, icontext.c, inouparm.c, interp.c, zcontext.c,
zusparam.c)  ****** IN PROGRESS ******

Enables printing of time and memory usage even in non-DEBUG systems, for
benchmarking.  (imain.c)

Adds a .forceundef operator to parallel .forceput.  (gs_init.ps, zdict.c)

Rewrites the Form caching code to use the Pattern cache.  (gs_fform.ps)

Removes all uses of far_data.  (imain.c, imainarg.c, iname.c, opdef.h)

Moves responsibility for null page devices from C code to PostScript code.
(gs_setpd.ps, igstate.h, zdevice2.c, zgstate.c)

Changes the context scheduler to not store or reload the state when
switching from a context to the same context.  (zcontext.c)

Moves .registerencoding from C code to PostScript code.  (gs_init.ps,
zfont2.c)

Splits off inames.h (API for names and the name table) from iname.h (API for
the interpreter's name table); renames the_nt as the_gs_name_table, and
moves it to imain.c.  We would like to rename iname.h as names.h, but there
are too many places that include it.  (igc.h, iname.h, inamedef.h, inames.h,
imain.h, idict.c, idstack.c, igc.c, iname.c, interp.c, isave.c)

Splits off iestack.h and iostack.h from estack.h and ostack.h, as was done
for [i]dstack.h in 5.23.  (estack.h, iestack.h, iostack.h, ostack.h,
interp.c)

Splits off the hit detection device from the user path code, moving it to
the library level where it belongs.  (zupath.c)

Updates the interpreter for the changes in the enum_ptrs, reloc_ptrs, and
clear_marks memory management procedures.  (igc.c, igcref.c, ilocate.c,
zcontext.c)

Removes all uses of 'near' from the interpreter: if short and long calls
have different formats, we rely on the compiler to generate the most
efficient one.  (iccfont.c, imainarg.c, iparam.c, zdevice2.c, zdouble.c,
zdps.c, zgstate.c, zmatrix.c, zpath.c, zpath1.c, zrelbit.c, ztype.c)

Makes a couple of minor changes to support the change in
gs_param_list_common.  (iparam.h, iparam.c)

Changes internaldict to an operator, and executive and findencoding to
procedures, in order to satisfy the Genoa FTS.  (gs_dps.ps, gs_init.ps,
gs_res.ps)

Updates clients for the addition of device reference counting.  (zpcolor.c,
zupath.c)

Replaces all remaining uses of do { ... } while (0) with BEGIN ... END.
(istruct.h, opcheck.h)

Adds a debugging operator for printing out a Type 1 font.  (zfont1.c)

Updates the Type 1 font operators for the change in the procedure structure.
(zchar1.c, zfont1.c)

Updates one client for the change in the gs_show_enum structure.  (zchar.c)

Removes an obsolete "hook" put in for a customer.  (zchar.c)

Removes the BigStringEncode filter, which was only used by a former
customer.  (zfilter.c)

</pre><h3><a name="V5.24_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Images defined in non-Device color spaces were broken.
(pdf_draw.ps)

Removes some vestiges of the old pdf2ps.  (pdf_draw.ps, pdf_main.ps)

Adds some leftover PDF 1.2 features:

	- F, FFilter, and FDecodeParms keys in stream dictionaries.
	(pdf_base.ps)

	- Functions, including predefined spot functions.  (pdf_draw.ps)

	- Name trees.  (pdf_base.ps)

Adds some PDF 1.3 features.  Note that these require a fair amount of
PostScript LanguageLevel 3 support.  Note also that none of these have been
tested yet, because we don't have any source of test files.

	- DeviceN and (stubbed) ICCBased color spaces.  (pdf_draw.ps,
	pdf_ops.ps)

	- Additional extended graphics state parameters.  (pdf_draw.ps)

	- Number trees.  (pdf_base.ps)

	- Masked images.  (pdf_draw.ps)

Works around a bug in pdfTeX, which can generate Encoding vectors containing
nulls.  (pdf_font.ps)

</pre><h3><a name="V5.24_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- A needed #include of memory_.h was missing.  (sdeparam.c)
	- The needed input buffer size for the RunLengthEncode filter was
128, but should be 129.  (srle.c)
	- The ASCII85Encode and ASCIIHexEncode filters sometimes didn't
insert \n characters often enough.  (sfilter2.c, sstring.c)
	- In one obscure boundary case, the CCITTFaxEncode filter with K =
-1 could emit an extra, incorrect code.  (scfe.c)
	- The CCITTFaxDecode filter didn't default DamagedRowsBeforeError to
0.  (scfx.h)

Removes all remaining uses of _ds and _ss.  (sfilter.h, sbcp.c, scfe.c,
seexec.c, sfilter1.c, sstring.c)

Removes the use of do_debug.  (scfd.c)

Removes all uses of far_data.  (scf.h, scfdgen.c, scfdtab.c, scfetab.c,
sjpegerr.c)

Removes the save_count member of streams, which is now no longer needed.
(stream.h)

To help in debugging, changes all uses of
	#define ss ((stream_xxx_state *)st)
to
	stream_xxx_state * const ss = (stream_xxx_state *)st;
(sbcp.c, sbhc.c, sbwbs.c, scfd.c, scfe.c, sdctc.c, sdctd.c, sdcte.c,
seexec.c, sfilter1.c, sfilter2.c, sfxfd.c, sfxstdio.c, siscale.c, slzwc.c,
slzwce.c, slzwd.c, smtf.c, spdiff.c, spngp.c, srld.c, srle.c, sstring.c,
szlibc.c, szlibd.c, szlibe.c)

Changes all groups of statistic-gathering variables to be structure
variables named stats_*.  (scfe.c)

Rewrites the CCITTFaxEncode filter to cut down one particularly large and
obnoxious macro, and to simplify the code by allocating an output buffer as
well as an input buffer.  (scf.h, scfdgen.c, scfe.c, scfetab.c)

</pre><h3><a name="V5.24_Library"></a>Library</h3><pre>

Fixes bugs:
	- The masked image clipper sequenced through mask rows incorrectly.
(gxclipm.c)
	- gx_[c]path_init_local_shared were declared as returning void, but
could actually return an error.  (gxpath.h, gxcpath.c, gxpath.c)
	- As always, gcc failed to report some static/non-static
inconsistencies.  However, to my dismay, I find that the ANSI C standard
allows these, so I'll have to stop complaining about them.  (gxclimag.c,
gxclipm.c)
	- As always, gcc failed to report some signed/unsigned char *
mismatches.  (gdevpdfi.c, gsparam.c)
	- A loop counted on a non-existent zero value to mark the end of the
IODevice table.  (gsiodev.c)
	- Some needed #includes of memory_.h were missing.  (gdevddrw.c,
gscolor2.c, gscrdp.c, gscspace.c, gxclipm.c, gximage3.c, gxshade4.c)
	- Pattern device colors didn't have access to the original halftone
phase, making it impossible to handle non-standard X/YStep correctly.
(gsdcolor.h, gspcolor.c)
	- Pattern filling disregarded the phase.  THIS MAY UNDO A FIX MADE
IN 5.02.  WE NEED TO RE-TEST PATTERNS CAREFULLY.  (gxp1fill.c)
	- restore did some unnecessary gsaves.  (gsstate.h, gsstate.c)
	- The reference counting macros could read from an object after
freeing it.  (gsrefct.h)
	- setgstate and currentgstate freed the view clipping path, which
they shouldn't do.  (gsstate.c)
	- If no view clipping path was set, viewclippath returned the entire
extent of the device, not the imageable area.  (gxpath.h, gsdps.c, gspath.c)
	- Assigning one stack-allocated path to another incorrectly wound up
sharing their segments.  (gxcpath.c, gxpath.c)
	- dot_length_absolute was incorrectly declared as float rather than
bool.  (gxline.h)
	- The test for varying-depth banded images was incorrect, causing
varying-depth images to be treated as constant-depth.  (This only affected
ImageType 3 images.)  (gxclimag.c)
	- Failure to clamp Y values when processing banded images could
cause crashes or invalid band list data.  (gxclimag.c)
	- The changes in gsparam.c introduced in 5.23 made the coercion of
int arrays to float arrays fail.  (gsparam.h, gsparam.c)
	- Interpolated banded images could be transmitted incompletely,
causing narrow stripes to be chopped out of their rendering.  (gxclimag.c)
	- FunctionType 0 functions with 32-bit samples didn't read their
data correctly.  (gsfunc0.c)
	- Lattice-form Shadings with packed coordinates could crash or
produce incorrect results.  (gxshade.c)
	- Lattice-form Shadings with packed coordinates always returned an
error.  (gxshade4.c)
	- If the PaintProc of a Pattern or a Form, or a CharString
procedure, or a similar callback copied the current graphics state with
gstate or currentgstate, a dangling reference to the device could result.
Fixing this required adding a reference count to devices: internally created
devices initialize it to 0, externally visible devices initialize it to 1.
THIS IS A DELICATE CHANGE AND WILL PROBABLY HAVE A BUG TAIL.  (gsdevice.h,
gxdevcli.h, gxdevice.h, gdevmem.c, gdevmrop.c, gdevnfwd.c, gschar.c,
gsdevice.c, gsmemory.c, gspaint.c, gsstate.c, gxacpath.c, gxccman.c,
gxclip.c, gxmclip.c, gxpcmap.c)
	- The return_if_error macro referred to code rather than code_.
(gserror.h)
	- Non-monotonic halftones didn't allocate enough slots in the
halftone cache.  (gxht.c)
	- setpagedevice with a 0-size page didn't fail.  Fixing this
required making the nullpage device provide explicit InputAttributes.
(gdevnfwd.c)
	- Halftone angles were often slightly off.  (gshtscr.c)
	- Banded fill_mask operations (used for characters) were sometimes
broken.  This bug was obviously introduced since 5.10; I'm surprised that it
didn't have more serious effects.  (gxclread.c)
	- Partially transparent patterns didn't work with non-default
RasterOp values.  (gxp1fill.c)
	- The default implementation of strip_copy_rop didn't handle color
space conversion properly.  (gdevmrop.c)
	- Hint replacement could cause the initial moveto and final
closepath of a Type 1 outline to differ, confusing the filling code.
(gxhint3.c)
	- Interpolated images were truncated at the bottom.  (bug probably
introduced in 5.23) (gxiscale.c)
	- Using an unsigned type for the index passed to enum_ptrs
procedures caused comparisons against signed values to be incorrect.
(gsstruct.h)

Rewrites the rectangle list and mask clipping algorithms to use callback
procedures rather than macros.  The rectangle list source code grew by 20%,
but the compiled code shrank from 10K to less than 4K; the mask clip source
code and compiled code both shrank.  (gxclip.h, gxmclip.h, gxclip.c,
gxclip2.c, gxclipm.c, gxcpath.c)

Removes all remaining uses of _ds and _ss.  (gsmemory.h, gsstruct.h, gzht.h,
stdpre.h, gp_dosfb.c, gsbitops.c, gscie.c, gsht.c, gstype1.c, gstype2.c,
gxclpath.c, gxclread.c, gxcmap.c, gxfill.c, gxi12bit.c, gxop1.h, gxpflat.c,
gxstroke.c, gxtype1.c)

Changes some GC procedures from explicit code to standard macros.
(gsstruct.h, gscscie.c, gxcht.c)

For easier debugging, changes gs_debug_c to a procedure; removes
gs_if_debug_c and do_debug.  (gdebug.h, gsht1.c, gsmisc.c, gspaint.c,
gxcht.c, gxht.c, gxpcmap.c)

Changes the num_components member of the color space structure to a
procedure, which is needed because DeviceN color spaces have a variable
number of components; also makes Pattern spaces return -1 - the correct
num_components instead of -1.  This is a NON-BACKWARD-COMPATIBLE CHANGE.
Also adds a base_space procedure.  (gxcspace.h, gscdevn.c, gscolor1.c,
gscolor2.c, gscpixel.c, gscscie.c, gscsepr.c, gscspace.c, gspcolor.c,
gxiinit.c, gxiscale.c)

Changes all groups of statistic-gathering variables to be structure
variables named stats_*.  (gxclip.c, gxclist.c, gxclpath.c, gxfill.c,
gxifast.c)

Starts to pull apart gs_makebitmap/pixmappattern to remove the dependency on
masked images.  (gspcolor.c)

Splits the C heap allocator from generic allocator support.  (gsmemory.c,
gsmalloc.c)

Removes all uses of far_data other than references to device (but not
device2) prototypes.  (gdevmem.h, gdevmrop.h, gxdevcli.h, gconf.c,
gdevabuf.c, gdevht.c, gdevm*.c, gdevmpla.c, gdevmrop.c, gdevnfwd.c,
gsbittab.c, gsflip.c, gsroptab.c, gxcht.c)

Adds a streams member to gs_ref_memory_t.  The library doesn't use this, but
it greatly simplifies the interpreter's bookkeeping.  (gsalloc.h, gxalloc.h,
gsalloc.c)

Adds some more opaque types to the graphics state structure, rather than
using naked struct types.  (gsccolor.h, gzstate.h)

Introduces the notion of the "effective clip path" in a graphics state.
Painting operators should now call gx_effective_clip_path rather than using
the clip_path member directly.  (gxpath.h, gschar.c, gsdps1.c, gsimage.c,
gspaint.c, gspath.c, gxccache.c, gxpaint.c)

Implements view clipping.  (gzstate.h, gspath.c, gsstate.c)

Starts to pare down the fit_* macros in gxdevice.h, since some people feel
strongly they are hard to follow, and also adds BEGIN/END wrapping.
(gxdevice.h, gdevabuf.c, gdevmem.c, gxclpath.c)

Refactors the structure definition macros in anticipation of moving to a
more table-driven approach.  Replaces ENUM_CALL, ENUM_RETURN_CALL, and
RELOC_CALL with ENUM_USING and RELOC_USING.  (gsstruct.h, gdevmem.c,
gshtscr.c, gxcpath.c, gxiinit.c)

Sketches a table-driven rather than procedural representation for GC
descriptors.  We believe this will improve readability, reduce code size,
and perhaps reduce cache thrashing during garbage collection.  This requires
a NON-BACKWARD-COMPATIBLE CHANGE to the enum_ptrs, reloc_ptrs, and
clear_marks procedures (to add the structure descriptor as a parameter).
This should not affect any ordinary clients, because they should already
define these procedures using the macros in gsstruct.h, which *are*
backward-compatible; however, they do affect two internal clients that use
their own type tags with unions (color spaces and device colors).
(gsstrtab.h, gsstruct.h, gsalloc.c, gsstrtab.c)

Updates color spaces for the change in enum_ptrs and reloc_ptrs.
(gxcspace.h, gscdevn.c, gscolor1.c, gscolor2.c, gscpixel.c, gscscie.c,
gscsepr.c, gscspace.c, gspcolor.c)

Updates device colors for the change in enum_ptrs and reloc_ptrs.
(gsdcolor.h, gxdcolor.h, gxpcolor.h, gspcolor.c, gxcht.c, gxcmap.c,
gxdcolor.c, gxht.c, gxp1fill.c)

Implements a hit detection device at the library level.  (gserrors.h,
gdevhit.c)

Changes some configuration parameters from #defines to statics.  (gschar.c)

Changes "simple" structures so they no longer have 0 for the enum_ptrs or
reloc_ptrs procedure.  This is a NON-BACKWARD-COMPATIBLE CHANGE for
structure-definers that don't use the macros in gsstruct.h (of which there
shouldn't be any).  (gsstruct.h, gsalloc.c)

Adds the structure type name to the debugging printout for freeing objects.
(gsalloc.c)

To help in debugging, changes all uses of
	#define ss ((stream_xxx_state *)st)
to
	stream_xxx_state * const ss = (stream_xxx_state *)st;
(gxclread.c)

Removes all uses of 'near' from the library: if short and long calls have
different formats, we rely on the compiler to generate the most efficient
one.  (gscie.c, gscoord.c, gsimpath.c, gsstate.c, gstype2.c, gxclpath.c,
gxclread.c, gxfill.c, gxhint1.c, gxhint2.c, gxhint3.c, gxstroke.c)

Adds 'inline' to stdpre.h, defined as the empty string on compilers other
than the ones we know accept it.  (stdpre.h)

Adds printout of the subrectangle to ImageType 1 tracing.  (gxiinit.c)

Replaces a few uses of gs_memory_default with dev-&gt;memory.  (gdevdbit.c,
gxclread.c)

Improves support for halftone objects not associated with graphics states.
This involves a minor change to the definitions of gs_spot_halftone and
gs_threshold_halftone, to define the transfer function as a closure.  This
is slightly NON-BACKWARD-COMPATIBLE in that it requires clients to set
transfer_closure.proc to 0 if they also set transfer to 0.  NOTE: the API
defined in gshtx.h is subject to future change.  (gscsepnm.h, gshtx.h,
gxdht.h, gxfmap.h, gxht.h, gxtmap.h, gscolor.c, gsht.c, gsht1.c, gshtx.c)

Changes the Bezier approximation of arcs to cut arcs at absolute multiples
of 90 degrees rather than at intervals of 90 degrees (e.g., an arc from 45
to 105 would now be cut at 90 rather than being treated as a single
60-degree curve) in order to produce more uniform output and also to ensure
that the bounding box for arcs is more accurate (to pacify the Genoa FTS).
(gxfarith.h, gsmisc.c, gspath1.c)

Replaces all remaining uses of do { ... } while (0) with BEGIN ... END.
(gsbitops.h, gsdsrc.h, gserror.h, gsmdebug.h, gsrect.h, gxcldev.h, gxfunc.h,
gxop1.h, gxtype1.h, gsalphac.c, gsshade.c, gstype2.c, gstype42.c,
gxclread.c, gxcpath.c, gximage4.c, gxpath.c)

Adds a user-defined halftone type, to support non-monotonic halftones.  We
could make any of the following structures fully object-oriented:
	- Halftones (client level)
	- Halftone orders (device level, but not rendered)
	- Device halftones (device level, fully rendered)
The right place to do this for non-monotonic halftones, which are specified
directly by bit masks, is at the device halftone level.  However, there are
too many places that know too much about the implementation of device
halftones and halftone orders right now.  WE NEED TO REVISIT THIS AFTER THE
5.1x CODE BRANCH IS TERMINATED.  SHOULD ALSO CONVERT UNION TO TYPED UNION
FOR GC -- CODE IS DUPLICATED IN gsht.c VS gshtx.c.  (gxdht.h, gxht.h,
gxhttype.h, gshtx.h, gsht.c, gsht1.c, gshtx.c)

Moves the procedures in Type 1 font data into a structure.  This is a
NON-BACKWARD-COMPATIBLE CHANGE, but an internal one.  (gxfont1.h, gstype1.c,
gstype2.c, gxtype1.c)

Extends Type 1 / 2 / 4 fonts to require that they be able to enumerate the
set of glyphs that they define, to allow writing them out.  We may propagate
this to all base fonts in the future.  (gxfont1.h)

Provides some utilities for devices that want to define their own
InputAttributes and OutputAttributes.  (gdevprn.h, gxdevice.h, gdevprn.c,
gsdparam.c)

Removes all of the text-display procedures that took null-terminated C
strings as operands.  This is NON-BACKWARD-COMPATIBLE.  However, since the
memory manager required that all such operands be allocated using
gs_alloc_string, the procedures were never usable with arbitrary C strings
anyway.  (gschar.h, gschar.c)

Renames the gx_device procedure record from std_procs to procs, in
anticipation of more unified support for "objects".  This is a
NON-BACKWARD-COMPATIBLE CHANGE for a surprisingly large number of clients
that should have been using dev_proc and set_dev_proc.  (gdevbbox.h,
gxdevcli.h, gxdevice.h, gdevdflt.c, gdevdgbr.c, gdevmem.c, gdevprn.c,
gsalphac.c, gsdevice.c, gsropc.c, gxccache.c, gxifast.c)

Disallows setting of the RasterOp-related graphics state parameters when
a cache device is active.  (gsrop.c)

Changes the tracing printout of path segments to provide enough accuracy to
cover all the fraction bits of a 'fixed'.  (gxpath.c)

</pre>

<hr>

<h2><a name="Version5.23"></a>Version 5.23 (limited) (5/14/98)</h2>

<p>
This fileset adds a number of PostScript LanguageLevel 3 features: library
support for ImageType 3 and 4 (masked) images, PostScript-level support for
ImageType 4, and the shfill operator for smooth shading.  It also adds RCS
Id lines to all the files we maintain.  It also changes the Unix makefiles
so that they create debugging or profiling binaries in separate directories.

<p>
This fileset includes an unusually large number of non-backward-compatible
API changes.  Most of them don't affect ordinary library clients, but a few
do.  These changes, and a few more to come, result from the next (large)
increment in our ongoing project to make the code completely re-entrant (no
non-idempotent writable globals in our own code).  This necessarily involves
putting some things that used to be global into structures, some of which
must be added to some interfaces.

<p>
NOTE: because of a combination of hardware problems, time pressure, and
belated discovery of sloppiness by the original developers of the PC
makefiles, none of the PC makefiles in this fileset work.  The Borland
makefiles probably come the closest.

<h3><a name="V5.23_Documentation"></a>Documentation</h3><pre>

Adds documentation for:
	- The changes in begin_image and related facilities.  (drivers.txt)
	- The addition of -Z/.  (use.txt)
	- The new ps2ps utility.  (ps2ps.1)
	- The new get_hardware_params procedure.  (drivers.txt)
	- The new -B&lt;size&gt; / -B- switch.  (use.txt).

Improves the documentation for the sample_ macros.  (gsbitops.h)

Adds some documentation on how the debugging/tracing flags work.  (gdebug.h)

Improves the documentation of DDAs.  (gxdda.h)

Documents a subtle change in the meaning of a flag in the PDF
FontDescriptor.  (pdf_font.ps)

Changes the location of the authoritative site for zlib sources.  (zlib.mak)

Corrects a typo.  (gsht1.h)

Removes pdf_2ps.ps from the fileset.  (psfiles.txt)

Adds standard file name comments to all .c and .h files that didn't already
have them.  (dodebug.h, gdev3b1.c, gdev8510.c, gdevadmp.c, gdevhl7x.c,
gdevimgn.c, gdevo182.c, gdevpdfx.h, gdevpe.c gdevsco.c, gdevsj48.c,
gdevvglb.c, gsalpha.c, gscolor1.c, gscsepr.h, gsdsc.c, scfetab.c string_.h,
zfunc3.c, zmedia2.c)

Unifies the nroff styles of the various man pages a bit.  (*.1)

Adds a reference to the CTAN mirror sites.  (new-user.txt)

Notes that the result of rect_intersect may be anomalous.  (gsrect.h)

Improves the documentation for the Distiller parameter handling code.
(gdevpdfp.c, gdevpsdp.c)

Corrects an ambiguity in the definition of the int_keys argument of
param_begin_xmit_dict.  (gsparam.h)

Adds a new file that will evolve into a reasonable guide to the source code.
(README, source.txt)

Adds the convention for 'status' and 'code' to the C style guide.
(c-style.txt)

Improves the documentation for the '-' pseudo-switch.  (use.txt)

Updates the problem reporting form to include the URL for known post-release
problems.  (bug-form.txt)

Documents the availability of sources and binaries for Plan 9.
(new-user.txt)

</pre><h3><a name="V5.23_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The 'tags' target in the Unix makefiles had an incorrect directory
name.  (bug probably introduced since 5.20)  (unix-end.mak)
	- The ld_tr and CCFLAGS macros were used in the makefiles before
they were defined, causing problems with `make' implementations that
substitute macros into definitions at definition time rather than at use
time.  (*.mak)
	- Recent Digital Unix versions (4.0 and later) require -std1 when
compiling.  (make.txt)
	- The Unix library-only makefile had gotten out of date.
(ugcclib.mak)
	- pf2afm[.bat] were omitted from the fileset.  (master/package.tcl)
	- The Borland makefile didn't work, because the Borland compiler
requires specifying the output file name (-o) before the input file name
(-c)!  This required changing the order of every compilation command in
every platform-independent makefile.  The win*.mak files still need work.
(*.mak)
	- None of the non-Unix makefiles specified directory names for the
auxiliary programs.  (dvx-tail.mak, os2.mak, wctail.mak, winlib.mak)
	- The Windows makefiles lacked build rules for gp_ntfs and gp_win32.
(msvclib.mak, winlib.mak)

Adds a new debugging switch -Z/ that prints the file name and line number on
all trace messages.  (gdebug.h, std.h)

Changes the Unix 'pg' and 'debug' build targets so that they create the
binaries in a 'pgobj' or 'debugobj' subdirectory of the standard build
directory.  This allows keeping all 3 configurations active.  (unix-end.mak)

Adds GEN directories for jpeg, libpng, and zlib.  (devs.mak, gs.mak,
jpeg.mak, lib.mak, libpng.mak, zlib.mak)

Adds a gendev.c that will eventually replace genconf.c.  (gendev.c, *.mak)

Adds -Wcast-align to the gcc compilation switches.  (unix-gcc.mak)

Adds support for libpng 1.0.1.  (libpng.mak)

Notes the use of -R on Solaris and other SVR4 systems.  (unix*.mak)

Removes pdf_2ps.ps from the fileset.  (int.mak, unixinst.mak,
pdf_2ps.ps[deleted])

Ensures that every file that is copyright, maintained, and distributed by
Aladdin Enterprises has a RCS Id line.  In .c and .h files, these lines
currently are only comments, but they could be converted easily to static
strings later if we want to.  We had to touch almost every file in the
fileset to do this, but we did *not* change the write dates.  (*)

Makes the build procedure auto-detect whether the installed version of gcc
has the 'const' code generation bug.  (gs.mak, lib.mak, unix-gcc.mak)

Removes 'makefile' as a precondition for ccf32.tr.  (I can't quite figure
out why it was there in the first place.)  (msvccom.mak)

Replaces the -F&lt;file&gt; switch with a -B&lt;buffer size&gt; switch that forces all
files to use the run_string interfaces.  -B- turns it off.  (iminst.h,
imainarg.c)

Adds a new resource to genconf.c, -replace &lt;module&gt;.  This causes &lt;module&gt;
*not* to be included if the module with the -replace resource *is* included.
If two modules -replace each other, either directly or indirectly through
-includes, the result is undefined.  (genconf.c)

Uses -replace to implement a default roplib package.  (lib.mak)

</pre><h3><a name="V5.23_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- unprot.ps stopped working because of the stricter prohibition
against storing local-VM objects into systemdict.  (unprot.ps)

Adds a new ps2ps utility, like pdf2ps, that "distills" PostScript.
(ps2ps, ps2ps.bat)

Modifies the ps2epsi utility so it can be run outside the ps2epsi script for
testing.  (ps2epsi.ps)

Changes the pdf2ps utility to use the pswrite device.  This gets rid of all
conversion problems, at the expense of larger and stupider output files.
(pdf2ps, pdf2ps.bat)

</pre><h3><a name="V5.23_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- Two procedures were declared 'private' inconsistently (thank you
again, gcc).  (gdevps.c)
	- The author of the uniprint driver sent a fix for an
allocation-related bug and an off-by-one bug.  (gdevupd.c)
	- The PDF writer incorrectly converted open stroked rectangles (only
3 sides drawn) to closed (4 sides drawn).  (gxpath.h, gzpath.h, gdevpdfd.c,
gxpath2.c)
	- When banding, filling a character within the PaintProc of a
Pattern could produce memory access errors.  (The problem was in
gx_forward_fill_mask, which might affect filling characters in other
situations as well.)  (gdevnfwd.c)
	- The [e]pswrite driver produced incorrect line widths for stroked
graphics.  (gdevps.c)
	- The [e]pswrite driver didn't invoke colorimage correctly, so
didn't handle Patterns right.  (gdevps.c)
	- Vector devices didn't set the color before writing trapezoids,
possibly causing incorrectly colored output.  (gdevvec.c)
	- Vector devices could give errors on Pattern fills.  (gdevvec.c)
	- The bbox device retained a pointer to the clipping path, which,
since the path was embedded in the gs_state_contents, confused the garbage
collector, causing memory access errors.  We fixed this by de-embedding the
path object: see below.  (gsstate.c)
	- On some Linux systems, the X driver could get a memory access
error when displaying patterns.  We fixed this by adding calls on XInitImage
in the necessary places when running X11R6.  (gdevx.c)
	- PDF output didn't check names for unusual characters, and could
produce invalid output if the input included names with those characters.
(gdevpdfx.h, gdevpdf.c, gdevpdfm.c, gdevpdfo.c)
	- In the PDF writer, DEST pdfmarks with /Dest but no /Page or /View
didn't generate named destinations.  (gdevpdfm.c)
	- Printer devices didn't allow . in %-formats in the output file
name.  (gdevprn.c)
	- The x11cmyk driver didn't read bits back from the screen
correctly.  (gdevxalt.c)
	- The pcxmono and pcxgray drivers used colored rather than
gray-scale palettes.  (gdevpcx.c)
	- The PCX drivers could emit repetition counts greater than 15,
confusing some readers.  (gdevpcx.c)

Removes some vestiges of the obsolete draw_line driver procedure.  We also
rename the draw_line member of the driver procedure structure as
obsolete_draw_line, so that any uses of it will cause compilation errors,
but we don't remove it from the structure, so that existing driver procedure
vectors will continue to compile (although the draw_line procedure will
never be called).  (gxdevcli.h, gdevbbox.c, gdevddrw.c, gdevdflt.c)

To repair a design error, and at the same time add flexibility needed for
ImageType 3:

	- Removes the image_data and end_image driver procedures,
associating them with the gx_image_enum(_common)_t structure instead.
Clients should call gx_device_image_data and gx_device_end_image instead: we
set the image_data and end_image procedures in the device structures to
these procedures when filling in defaulted procedures.  This is a
NON-BACKWARD-COMPATIBLE CHANGE for drivers that implement begin_image, since
they now have to fill the procedures into the enumerator structure.
(gsiparm*.h, gxdevcli.h, gxdevice.h, gxiparam.h, gdevbbox.c, gdevddrw.c,
gdevdflt.c, gdevnfwd.c, gsimage.c, gxclist.c, gxidata.c, gxifast.c,
gxiinit.c, gximage3.c, gximage4.c)

	- Replaces the image_data driver procedure with a plane_data
procedure (now associated with the image enumerator, not the device) that
allows specifying the X offset and raster independently for each plane, and
(depending on the image type) may allow omitting some planes.  We provide a
gx_device_image_plane_data procedure parallel to _image_data and _end_image
(see above).  (gsiparm*.h, gxdevcli.h, gxiparam.h, gdevbbox.c, gdevddrw.c,
gxidata.c, gxiinit.c, gximage3.c, gximage4.c)

Updates clients for image processing changes.  (gdevvec.h, gdevpdf.c,
gdevpdfi.c, gdevps.c, gdevpx.c, gdevvec.c)

Enhances [e]pswrite to detect other kinds of opportunities for producing
smaller output.  This involves a change in the moveto procedure in the
'vector' interface.  (gdevps.c)

Changes the bbox device so that it automatically detects whether it is being
used as a component in a device pipeline or as a free-standing device,
rather than having to select this in the makefile.  (lib.mak, gdevbbox.h,
gdevbbox.c)

Moves the halftoning driver a bit closer to real usability.  (gdevht.h,
gdevht.c)

Adds some tracing to the color mapping code in the X driver.  (gdevx.c)

Implements setting the Dict and ACSDict parameters for pswrite and pdfwrite.
Dict is effective with the CCITTFaxEncode filter for black-and-white images;
otherwise, these parameters still don't do anything.  (gdevpdfi.c,
gdevpsdp.c) ****** READING HUFFMAN TABLES IS NYI, SEE sdcparam.c; SETTING
DOESN'T WORK BECAUSE DCT_set_defaults DOESN'T DO WHAT IT SHOULD ******

Updates the PS/PDF writers to reflect the fact that the ASCIIHexEncode
filter now has a state.  (gdevpsdf.c)

Modifies the X driver so that it can draw multiple platform characters at a
time rather than one character per call.  (gdevx.h, gdevx.c, gdevxxf.c)

Takes advantage of the filter stream procedures now available in stream.c.
(gdevjpeg.c, gdevpdf.c, gdevpsdf.c)

Adds a get_hardware_params procedure, similar to get_params except that it
reads parameters whose values depend on hardware state that may change
without program intervention (e.g., panel switches).  The default is that
there are no hardware parameters.  (gdevmem.h, gdevprn.h, gsdevice.h,
gxdevcli.h, gxdevice.h, gxacpath.c, gxclip2.c, gxclipm.c, gxclist.c,
gxcpath.c, gdevbbox.c, gdevdflt.c, gdevht.c, gdevmrop.c, gdevnfwd.c,
gdevprn.c, gsdparam.c)

Updates the PS/PDF writer for the change in the parameter list API.
(gdevpsdf.c)

Makes a few more writable statics const.  (gdevos2p.c, gdevpipe.c,
gdevpsim.c, gdevx.c)

Removes the rrgb sample device, since it now no longer serves any purpose.
(gdevrrgb.c[deleted])

Converts some additional devices to -dev2, to make them const.  (devs.mak,
gdevbit.c, gdevpbm.c, gdevpcx.c, gdevpsim.c, gdevpng.c, gdevtfax.c,
gdevtfnx.c, gdevx.c, gdevxalt.c)

Updates a client accessing the preallocated color spaces.  (gdevpsdi.c)

Renames the debugging-related statics in the X driver as X_SOMETHING.
(gdevx.c)

</pre><h3><a name="V5.23_Platforms"></a>Platforms</h3><pre>

Makes a few minor changes to support Plan 9.  (make.txt, devs.mak, stat_.h,
stdio_.h, time_.h, gdevpbm.c)

</pre><h3><a name="V5.23_Fonts"></a>Fonts</h3><pre>

Documents the availability of a free Chinese font.  (fonts.txt,
new-user.txt)

Works around a bug in the Adobe PostScript driver.  We though it just output
the FontBBox for Type 42 fonts in the 2048- or 4096-unit character space
rather than a 1-unit space, but in fact it outputs garbage.  (zfont42.c,
gstype42.c)

Augments the handling of Type 42 fonts to recognize the gdir /
GlyphDirectory method of outline definition in addition to the loca / glyf
method, per Adobe versions 2015 and later (undocumented!).  (ifont.h,
zfont42.c)

</pre><h3><a name="V5.23_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Memory management for argument strings was wrong.  (gsargs.h,
gsargs.c)
	- 1 .setlanguagelevel was broken, because it didn't allow for the
possibility that values could get deleted from systemdict that existed in
level2dict.  (bug introduced in 5.x, x &lt;= 10) (zmisc2.c)
	- -dFAKEFONTS was broken.  (gs_fonts.ps, gs_init.ps)
	- copyscanlines was broken.  (bug introduced in 5.20) (gs_init.ps)
	- The matrix returned by sizeimage was incorrect.  (zdpnext.c)
	- The implementation of .buildpattern for PatternType 2 was wrong.
(gs_ll3.ps)
	- Ghostscript couldn't load TrueType fonts where the amount of data
either before or after the glyf section exceeds 64K.  (gs_ttf.ps) ****** WE
BACKED OUT THIS CHANGE, BECAUSE WE HAD TO BACK OUT THE NEXT ONE. ******
	- Ghostscript couldn't load TrueType fonts where the total data is
more than 64K and the offset or length of the glyfs is odd.  (gs_ttf.ps)
****** WE BACKED OUT THIS CHANGE: IT BROKE THE PDF INTERPRETER, BECAUSE IT
IMPOSES A NEW REQUIREMENT THAT TTF FILES BE POSITIONABLE. ******
	- Some compilers complained about arithmetic on enums.  (interp.c)
	- The CIE color space and CRD GC structure definitions were in the
interpreter rather than the library.  (zcie.c, zcrd.c)
	- NullFont was still present in FontDirectory when currentglobal was
false.  (gs_init.ps)
	- execform failed with Form resources, because it tried to insert
the Implementation in a read-only dictionary.  (gs_fform.ps, gs_lev2.ps)

Finishes implementing ImageType 4 images, and moves closer to implementing
ImageType 3.  (iimage.h, zdps.c, zimage.c, zimage2.c, zimage3.c)

Updates tracing output to use the new dlprintf macros.  (idict.c, igc.c,
igcref.c, igcstr.c, iname.c, interp.c, isave.c, iscan.c, zcie.c, zcontext.c)

Implements multiproc=true for readimage.  (gs_dpnxt.ps)

Does a bit more work on implementing shading with PatternType 2.
(gs_ll3.ps, zfunc.c, zshade.c)

Adds a .bitadd operator for adding integers modulo the word size.
(zarith.c)

Updates filter operators to use the new stream parameter facility.
(iparam.h, iparam.c, zfdecode.c, zfdctc.c[deleted], zfdctd.c, zfdcte.c)

Updates the implementation of parameter lists for the change from _dict to
_collection.  (iparam.c, iparam.h)

Takes advantage of the filter stream procedures now available in stream.c.
(zfilter.c)

Adds get_hardware_params to one device procedure vector.  (zupath.c)

Adds .gethardwareparams to parallel .getdeviceparams.  (zdevice.c)

Updates the interpreter's parameter list machinery to match the change in
gsparam.h.  (iparam.h, iparam.c)

Makes more writable statics const.  (gs_init.ps, btoken.h, dstack.h, iref.h,
opextern.h, icontext.c, idict.c, igc.c, igcref.c, iinit.c, imainarg.c,
interp.c, iscanbin.c, iutil.c, zbseq.c, zcie.c, zcontrol.c, zdevcal.c,
zdevice2.c, zdps.c, zdps1.c, zfont2.c, zgeneric.c, zgstate.c, ziodev.c,
ziodev2.c, ztype.c)

Removes an inappropriate reference to PROGRAM_NAME.  (imainarg.c)

Removes set/currentrenderalgorithm, since they are useless for the purpose
for which they were intended.  (zrop.c)

Uncomments code for CIEBasedDEF[G] color spaces, even though these aren't
fully implemented yet.  (zcie.c)

Reimplements StartJobPassword and SystemParamsPassword as no-access strings
in systemdict.  (gs_lev2.ps, iutil2.h, iutil2.c, ziodev2.c, zusparam.c)

Splits off the context state record from icontext.h, so that places that
only need access to state variables don't need to import the
procedures. (icontext.h, icstate.h)

Updates a client for the change in gs_malloc_limit.  (imainarg.c)

Updates clients for the change in the accessors for predefined color spaces.
(zcolor1.c, zimage.c, zimage2.c)

Renames the (few) debugging-related statics as I_SOMETHING.  (igc.c)

Splits off idstack.h (API for dictionary stacks) from dstack.h (API for the
interpreter's dictionary stack), and idstack.c (dictionary stack
implementation) from idict.c (dictionary implementation).  We should have
done this a long time ago!  (dstack.h, idictdef.h, idstack.h, idict.c,
idstack.c, iinit.c, ireclaim.c)

Folds the cached currentfile pointer into the exec-stack structure.
(estack.h, interp.c)

Changes clients of gs_register_*_root to eliminate statically allocated
roots.  (iinit.c, iname.c, interp.c, zbseq.c, zcontext.c, zfile.c, zfont.c,
zfont2.c, zgstate.c, ziodev.c)

Adds a ref_free_stack procedure, and reformats the implementation of stacks.
(istack.h, interp.c, istack.c)

</pre><h3><a name="V5.23_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Pattern colors sometimes caused errors.  (gs_pdf.ps)
	- A file ending with %%EOF without an EOL caused an error.
(pdf_main.ps)
	- Fl wasn't recognized as an abbreviation for FlateDecode in in-line
images.  (pdf_draw.ps)

Removes all code related to converting PDF to PS: it never worked reliably,
and we now support this function with the pswrite device instead.
(gs_pdf.ps =&gt; pdf_ops.ps, pdf*.ps)

</pre><h3><a name="V5.23_Streams"></a>Streams</h3><pre>

Updates tracing output to use the new dlprintf macros.  (shc.h, scfd.c,
scfe.c, shcgen.c)

Provides the ability to read and set stream initial parameters to/from a
parameter list.  This is currently needed only by the PDF/PS writers and the
filter operator, so it is implemented in modules separate from the stream
implementation per se, but it might be useful for other clients too.
(scommon.h, scfparam.c, sdcparam.c, sdct*.c, sdeparam.c, sddparam.c,
gdevpsfp.c[deleted])

Changes the ASCII85Encode filter so it never produces two %% at the
beginning of a line, which could mislead document managers or spoolers.
(sfilter2.c)

Changes the ASCIIHexEncode filter so it always produces lines of exactly 64
characters, except for the last one.  THIS IS A NON-BACKWARD-COMPATIBLE
CHANGE, because this filter now needs a state structure, which it didn't
before.  (sstring.h, sstring.c)

Moves filter_{read,write}_procs to stream.c, changing the names to
s_filter_{read,write}_procs.  (stream.h, stream.c)

Makes creation of JPEG filters set default values for parameters that are
outside the IJG library (Picky and Relax).  (sdct.h, sjpegd.c, sjpege.c)

</pre><h3><a name="V5.23_Library"></a>Library</h3><pre>

Fixes bugs:
	- An error in dda_step_add could theoretically produce anomalies in
images (although we don't think we've ever seen any).  (gxdda.h)
	- A boundary error in dda_state_next/previous/advance could
theoretically produce anomalies in images by allowing R = 0 (although we
don't think we've ever seen any).  (gxdda.h)
	- A rounding error in computing the size of portrait images could
produce a spurious 1-pixel-wide line at the edge of the image.  (gxifast.c)
	- When banding, images with singular or nearly singular CTM or
ImageMatrix could confuse things badly enough to cause memory access errors.
(gxclimag.c)
	- Patterns were broken.  (bug introduced in 5.21) (gxclip2.c)
	- Because some image processing code retained a pointer to the
clipping path, which was embedded inside the gs_state_contents object,
garbage collection could cause crashes.  (The only case where we know this
happened was the bounding box device, since we think all other image
enumerators preconstruct a clipping device, which does not retain a pointer
to the clipping path, rather than constructing one from the path on the
fly.)  We fixed this by replacing gs_state_contents with individual objects:
see below.
	- The *_.h files didn't have double-inclusion protection.  (*_.h)
	- ImageType 2 images were broken by the change in begin_typed_image.
(gximage2.c)
	- Color-setting operators that "substitute the nearest legal value"
didn't substitute it in storage, only when using it.  E.g., after
gs_setgray(pgs, 2.0), gs_currentgray(pgs) returned 2.0 rather than 1.0.
This bug has been there since release 1.0!  (gxcspace.h, gscie.c, gscolor.c,
gscolor1.c, gscolor2.c, gscdevn.c, gscsepr.c, gscpixel.c, gspcolor.c)
	- The RasterOp implementation for 2-bit, 4-bit, and non-gray 8-bit
devices didn't work.  (gdevmrop.c)
	- The test of whether to use copy_mono, fill_mask, or general
imaging for rendering characters sometimes used copy_mono when not
appropriate.  (gxccache.c)
	- The default implementation of fill_mask produced solid rectangles,
rather than properly masked output, if the logical operation didn't use its
source operand.  (gdevdbit.c)
	- Some more files needed double inclusion protection.  (gscie.h)
	- Checking for interrupts before a return always returned 0 rather
than the correct return code if there was no interrupt.  (gsmisc.c)
	- Characters within Pattern PaintProcs sometimes didn't get drawn.
(gxpcmap.c)
	- The CIE color space and CRD GC structure definitions were in the
interpreter rather than the library.  (gscie.h, gscie.c)
	- Numeric overflows when setting up the character cache caused
errors rather than simply disabling caching for that character.  (gschar.c)
	- FORCE_STRIP_HALFTONES was accidentally left set to 1 (in 5.10!),
slowing down all uses of monobit halftones.  (gshtscr.c)

Implements mask clipping, which is needed for ImageType 3 images.
(gxclip2.h, gxclipm.h, gxmclip.h, gxclip2.c, gxclipm.c, gxmclip.c)

Finishes implementing ImageType 3 and 4 images.  (gsimage.h, gsiparam.h,
gsimage.c, gsiparm3.h, gximage3.c, gximage4.c)

Starts to update the banding code to handle ImageType 3 and 4 images.
(gxclist.h, gxiparam.h, gxclimag.c, gxclist.c, gxiinit.c)

Make eprintf_program_name, lprintf_file_{and_line,only}, and new
dlprintf_file_{and_line,only} always be procedures, rather than sometimes
macros and sometimes procedures.  (std.h, gdebug.h, gsmisc.c)

Adds new dlprintf, dlputc, and dlputs macros that are like
dprintf/dputc/dputs but also print the source file name and line number at
the beginning of the line if the -Z/ debugging switch is set.  The if_debug*
macros now use dlprintf rather than dprintf; many other places also needed
changing.  Note that if any place was overlooked, no great harm is done:
printout produced there simply won't include the source file and line number
even if -Z/ is set.  (std.h, gdebug.h, gsmisc.c; gdevbbox.c, gdevdbit.c,
gdevdgbr.c, gdevmrop.c, gdevrun.c, gdevsvga.c, gdevx.c, gp_unifs.c,
gsalloc.c, gschar.c, gscoord.c, gsfont.c, gshsb.c, gsht.c, gshtscr.c,
gsmemory.c, gspath.c, gstype1.c, gstype2.c, gxacpath.c, gxccache.c,
gxclimag.c, gxclist.c, gxclpath.c, gxclread.c, gxcpath.c, gxfill.c,
gxidata.c, gxpath.c, gxpcopy.c, gxpflat.c, gxstroke.c)

Simplifies storage management for graphics states by replacing
gs_state_contents with individual objects.  This slows down gsave and
grestore a bit, but eliminates a class of potential obscure bugs.
(gxpath.h, gzstate.h, gsstate.c, gxcpath.c, gxpath.c)

Adds some more information to the deubgging printout for paths.  (gxpath.c)

Modifies the library test program to test ImageType 3 and 4 images.
(ugcclib.mak, gslib.c)

Extends the @-file parser to be more shell-like:

	- The sequence \ &lt;newline&gt; is ignored everywhere.

	- If a # appears as the first character on a line outside quotes,
	the entire line	(including the terminating newline) is ignored.

(gsargs.h, gsargs.c)

Changes a stem hint tracing message so that it will print with the correct
line number.  (gxhint2.c)

Moves the 'format' information for images to the image parameter structure.
This entails a NON-BACKWARD-COMPATIBLE CHANGE in the begin_typed_image
driver procedure (which was not guaranteed stable).  (gsiparam.h,
gxdevcli.h, gsimage.c, gxiinit.c)

Adds an optional matrix argument to begin_typed_image, overriding the CTM in
the imager state if present.  This is needed to make masks and masked images
line up precisely; this too is a NON-BACKWARD-COMPATIBLE CHANGE.
(gxdevcli.h, gdevbbox.c, gdevddrw.c, gdevnfwd.c, gdevx.c, gxclimag.c,
gxiinit.c, gximage2.c, gximage3.c, gximage4.c)

Adds a procedure for testing monotonicity of Functions over a given range.
(gsfunc.h, gsfunc0.c, gsfunc3.c)

Implements smooth shading with shfill.  All documented ShadingTypes (1-7)
are implemented.  (gscspace.h, gsdsrc.h, gspath.h, gsshade.h, gxshade.h,
gxshade4.h, gscolor.c, gscolor3.c, gsdsrc.c, gsfunc0.c, gsfunc3.c,
gspath1.c, gsshade.c, gxshade.c, gxshade1.c, gxshade4.c, gxshade6.c)

Changes the TrueType rasterizer to remove the assumption that the entire
loca table is stored contiguously.  This may not have any practical effect,
since currently Type 42 fonts never split the loca table across segments.
(gstype42.c)

Adds a new interface for creating CIE CRDs that provides the parameters as
separate arguments.  (gscrd.h, gscrd.c)

Starts to add the ability for a device to provide one or more default CIE
CRDs as (read-only) device parameters.  (Not ready for use yet.)  (gscie.h,
gscrdp.h, gscie.c, gscrdp.c)

Adds a multiple-bit-per-pixel analogue of gs_makebitmappattern,
gs_makepixmappattern, for use by another Aladdin project.  (lib.mak,
gsbitmap.h, gsptype1.h, gxbitmap.h, gspcolor.c)

Changes the API of param_begin_write_dict so that the client can request the
creation of an array rather than a dictionary.  This is a
NON-BACKWARD-COMPATIBLE CHANGE for implementors (of which there are only
2.5), but not for clients.  (gsparam.h, gsparam.c)

Adds dynamically typed data to the parameter list interface, and removes the
statically typed procedures.  This isn't important for any standard facility
yet.  This too is a NON-BACKWARD-COMPATIBLE CHANGE for implementors of
parameter lists.  (gsparam.h, gsparams.h, gsparam.c, gsparams.c)

Adds a new platform-specific API for thread creation and synchronization,
and a memory manager "wrapper" that monitor-locks each call.  No code
normally included in this fileset uses any of this machinery as yet.  (gp.h,
gpsync.h, gxsync.h, gsmemlok.h, gsmemlok.c, gxsync.c)

Splits off (PatternType 1) Pattern filling into a separate file, since the
file was getting too big; refactors the filling code to use procedures
rather than macros.  (gxp1fill.h, gspcolor.c, gxp1fill.c)

Makes a few more writable statics const.  (gscie.h, gscscie.c, gsdll.c,
gsmemory.c, gsmisc.c, gstype1.c, gstype2.c, gxclpath.c)

Adds a compile-time option, SYSTEM_CONSTANTS_ARE_WRITABLE, to choose whether
the system configuration values (buildtime, copyright, product, revision,
revisiondate, serialnumber) are const or not.  By default they are now
const: THIS IS A NON-BACKWARD-COMPATIBLE CHANGE (affecting only one user).
(lib.mak, openvms.mak, os2.mak, unix-end.mak, wctail.mak, winlib.mak,
gscdefs.h, gscdef.c)

Removes the dependence of std.h on PROGRAM_NAME.  (std.h, gsdll.c, gsmisc.c,
gscdef.c)

Adds a new member of the color space type structure, the size of the
smallest color space structure that will hold a color space of the given
type.  Also removes the obsolete _ds modifier.  (gscspace.h, gxcspace.h,
gscdevn.c, gscie.c, gscolor.c, gscolor1.c, gscolor2.c, gscpixel.c,
gscsepr.c, gspcolor.c, gxiinit.c)

Removes set/currentrenderalgorithm, since they are useless for the purpose
for which they were intended.  (gsrop.h, gsropt.h, gdevmrop.c, gsrop.c)

Splits off gscspace.c from gscolor.c, and gscscie.c from gscie.c.  (gscie.c,
gscolor.c, gscscie.c, gscspace.c)

Adds constructor and accessor procedures for color spaces.  (gscie.h,
gscolor2.h, gscsepr.h, gscspace.h, gsptype1.h, gxcolor2.h, gxcspace.h,
gscolor.c, gscolor2.c, gscscie.c, gscsepr.c, gscspace.c, gslib.c,
gspcolor.c)

Changes the CIEBased color space structures slightly to allow implementation
of the CIEBasedDEF[G] color spaces.  (gscie.h, gscie.c)

Changes gs_malloc_limit from a static to a member of the allocator
structure.  This is a NON-BACKWARD-COMPATIBLE CHANGE for clients that
declared this variable as an extern.  (gsmalloc.h, gsmemory.c)

In order to eliminate some statics, changes the static color space accessors
(gs_color_space_Device*) so they require a const gx_imager_state as
parameter, and changes their names as well to avoid confusion.  This is a
NON-BACKWARD-COMPATIBLE CHANGE not only in these accessors, but also in
gs_image_t_init_{gray,color}.  This is very unfortunate, but we see no way
to avoid it.  (gscspace.h, gsiparam.h, gxistate.h, gscolor1.c, gscscie.c,
gscspace.c, gsimage.c, gspcolor.c, gsstate.c, gxclread.c, gxiinit.c,
gximage2.c, gximage3.c, gximage4.c)

Unifies the handling of const for the IODevice table.  (gscdefs.h,
gxiodev.h, gconf.c, gsiodev.c)

Changes the register_root memory manager call so that a NULL as the pointer
to the root structure asks the memory manager to allocate the root structure
itself.  This is a NON-BACKWARD-COMPATIBLE CHANGE for implementors of the
memory manager API (of which there are only 3).  (gsmemory.h, gsstruct.h,
gsalloc.c, gsmemory.c)

Adds a new GC structure type, suffix_add0_local, which is a more efficient
form of suffix_add0 that can be used when the supertype is defined in the
same file as the subtype.  (gsbitmap.h, gscie.h, gsshade.h, gsstruct.h)

Uses the new package replacement facility in the makefile to make RasterOp
optional without tinkering with statics at runtime.  (lib.mak, gxdevice.h,
gxdevrop.h, gdevdbit.c, gdevdflt.c, gdevmrop.c, gdevnfwd.c, gsnorop.c,
gsropc.c)

Makes RasterOp really optional.  (gdevmrop.h, gsrop.h, gdevmrop.c, gsrop.c,
gxiinit.c)

Rewrites bits_fill_rectangle to get rid of nearly all the macros.
(gxbitops.h, gsbitops.c)

Removes the obsolete _ds from gs_log_error.  (gserror.h, gsmisc.c)

</pre>

<hr>

<h2><a name="Version5.22"></a>Version 5.22 (limited) (2/19/98)</h2>

<p>
This fileset has a few more bug fixes, a major overhaul of memory management
for paths so that we can do view clipping in a reasonable way, and the
ability to build executables in a different directory from the sources.

<h3><a name="V5.22_Documentation"></a>Documentation</h3><pre>

Designates gv as the preferred VMS and Unix previewer.  (new-user.txt,
use.txt)

Adds a pointer to post-release documentation.  (README)

Notes that compilation with certain platforms and compilers must turn off
optimization.  (make.txt)

Improves the documentation of the fit_fill and fit_copy macros.
(gxdevice.h)

</pre><h3><a name="V5.22_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The ccgs script for non-ANSI compilers was no longer flexible
enough to handle all the possible command lines.  (ccgs)
	- The pdfwrite device was missing on the DesqView/X platform.
(dvx-gcc.mak)
	- The System V build procedure was broken.  (unixtail.mak)
	- A Watcom makefile lacked parentheses around a macro name.
(wctail.mak)
	- Some `make' programs drop trailing spaces in macro definitions: we
didn't work around this.  (os2.mak, unixhead.mak, winlib.mak)

Adds support for WCVERSION=11.0 in the Watcom makefiles.  (watc.mak,
wccommon.mak)

Adds a shell script for removing the 'includes' from makefiles, since a very
few Unix systems don't support this capability.  (catmake)

Changes -dNOPROMPT to -dNOPAGEPROMPT, and adds -dNOPROMPT to suppress both
the end-of-page prompt and the executive prompt.  (use.txt, gs_init.ps)

Adds definitions of {GL,PS}{SRC,GEN,OBJ}DIR to the top-level makefiles,
removing these definitions from gs.mak.  (*.mak, gs.mak)

Adds explicit directories to more makefile rules.  We can now do builds with
source, GL/PS generated files, and GL/PS object files in 5 different
directories!  (*.mak, gsjconf.h)

</pre><h3><a name="V5.22_Utilities"></a>Utilities</h3><pre>

Adds a user-contributed utility that runs dvips followed by ps2pdf.
(dvipdf, unixinst.mak)

</pre><h3><a name="V5.22_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A pointer was incorrectly declared const.  (gdevpdfm.c)
	- pdfwrite handled the Title element of ARTICLE pdfmarks
incorrectly.  (gdevpdfm.c)
	- pdfwrite inserted a Dest element in Link annotations even if an A
(Action) key was present.  (gdevpdfm.c)
	- pdfwrite didn't recognize and convert /Article actions in
pdfmarks.  (gdevpdfm.c)

Replaces some open-coded accesses to path structure elements with macros, in
anticipation of a representation change.  (gdevpdfd.c)

Moves pdfwrite further towards supporting Dict and ACSDict Distiller
parameters.  (gdevpsdf.h, gdevpsdp.c, gdevpsfp.c)

Updates a few places for the change in the path API.  (gdevpdfd.c,
gdevvec.c)

Adds recognition of named object references to the PDF writer, fixing many
bugs in the named object code in the process.  (gdevpdfx.h, gdevpdfm.c,
gdevpdfo.c)

Enhances pswrite to skip fills or strokes of completely empty paths, to
recognize horizontal and vertical lines, and to abbreviate color settings
based on 8-bit fractions.  This requires a NON-BACKWARD-COMPATIBLE CHANGE in
the "vector" device interface (which was, however, clearly identified as
subject to change without notice).  (gdevpsdf.h, gdevvec.h, gdevps.c,
gdevpsdf.c, gdevpx.c, gdevvec.c)

</pre><h3><a name="V5.22_Interpreter"></a>Interpreter</h3><pre>

Updates a few places for the change in the path API.  (zupath.c)

Implements %statementedit properly.  (iscan.h, iscan.c, ziodev.c)

Changes the initialization code so that if DELAYBIND is set, .forcedef and
.forceput remain accessible until .bindnow is called.  (gs_init.ps)

</pre><h3><a name="V5.22_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- An empty Differences array, which Acrobat Distiller 3.02 can emit,
caused a rangecheck error.  (pdf_font.ps)

</pre><h3><a name="V5.22_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- The alternative LZWEncode filter didn't emit a reset code as the
first code, and waited one code too long to emit a reset.  (slzwce.c)

Adds some double-inclusion protection.  (scfx.h)

</pre><h3><a name="V5.22_Library"></a>Library</h3><pre>

Fixes bugs:
	- There was an (incorrect) assignment to a read-only structure
member.  (gximage2.c)
	- A formal parameter list was incorrect if __PROTOTYPES__ wasn't
defined.  (gsroptab.c)
	- Some images didn't get clipped properly when banding.  This was a
fix for 5.03 that somehow didn't make it into 5.10.  (gxclimag.c)
	- When banding, dashed lines could cause an invalid memory access.
This was apparently caused by an error in a fix made in 5.04.  (gsline.c)
	- Images with non-zero data_x could cause an invalid memory access.
(gxiinit.c, gxidata.c)
	- The band list rasterizer didn't initialize the image structure
properly, causing control to go to a random address.  (gxclread.c)

Replaces some open-coded accesses to path structure elements with macros, in
anticipation of a representation change.  (gxpath.h, gzpath.h, gspath1.c,
gxfill.c, gxpath2.c, gxstroke.c)

Changes the path and clipping path structures so that segments and clipping
lists are stored in separate, reference-counted structures.  This finally
supports reliable freeing of path segments and clipping lists even in the
presence of off-stack gstates, and the ability to store the original
segments of a clipping path, both of which we have wanted for a long time.
Unfortunately, it requires SIGNIFICANT NON-BACKWARD-COMPATIBLE CHANGES TO
THE API FOR PATHS:
    Paths:
	- adds gx_path_alloc_contained;
	- gx_path_init =&gt; gx_path_init_local (or nothing);
	- gx_path_reset =&gt; gx_path_new;
	- removes gx_path_share and gx_path_release;
	- gx_path_assign =&gt; gx_path_assign_{preserve,release};
	- renames gx_path_expand_dashes =&gt; gx_path_add_dash_expansion,
	  gx_path_flatten[_accurate] =&gt; gx_path_add_flattened[_accurate],
	  gx_path_monotonize =&gt; gx_path_add_monotonized;
	- removes the init Boolean from gx_path_copy[_reversed].
    Clipping paths:
	- gx_cpath_init =&gt; gx_cpath_init_local (or nothing);
	- removes gx_cpath_share and gx_cpath_release_segments;
	- gx_cpath_path =&gt; gx_cpath_to_path;
	- removes the mem argument from gx_cpath_from_rectangle.
We believe that we either renamed or changed the argument list of every API
function that was affected in a non-backward-compatible way, so incompatible
clients will get either compilation or linking errors.  (gxpath.h,
gzcpath.h, gzpath.h, gschar.c, gsdps.c, gsdps1.c, gspaint.c, gspath.c,
gspath1.c, gsstate.c, gxacpath.c, gxccache.c, gxclpath.c, gxclread.c,
gxcpath.c, gxfill.c, gxpath.c, gxpath2.c, gxpcmap.c, gxpcopy.c, gxpdash.c,
gxstroke.c)

Reimplements view clipping bookkeeping to use reference-counted paths.
(gzstate.h, gsdps.c, gsstate.c)

Adds const in a couple more places.  (gxpath2.c)

If -Z? is enabled, makes the reference counting machinery check for
reference counts going negative.  (gsrefct.h)

Adds the first bit of code for rendering smooth shadings.  The code is
nowhere near usable.  (gsshade.h, gxshade.h, gsshade.c, gxshade.c)

Adds BEGIN ... END macros for creating compound statements that are
syntactically equivalent to single statements.  (stdpre.h)

</pre>

<hr>

<h2><a name="Version5.21"></a>Version 5.21 (limited) (1/19/98)</h2>

<p>
This is primarily a bug fix fileset for 5.20, with a little new
functionality (pdfwrite image downsampling and more complete pdfmark
processing).

<h3><a name="V5.21_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The build procedures still referred to tar_cat.  (make.txt)

Documents some user-developed patches for using certain kinds of Japanese
fonts with Ghostscript.  (new-user.txt)

Notes that on Solaris 2.x systems, it is probably not a good idea to use
Sun's fonts.  (use.txt)

Documents -dSTRICT.  (use.txt)

</pre><h3><a name="V5.21_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The definitions of MAKEFILE in several makefiles was incorrect.
(dvx-gcc.mak, unix-cc.mak, unixansi.mak)
	- The build rules for the gp_*.$(OBJ) files lacked a directory name,
confusing most 'make' programs.  (*.mak)
	- geninit didn't work, because the syntax of psfile_() entries in
gconfig.h had changed.  (geninit.c)
	- Some files were created and then deleted during building,
preventing [gnu]make -j from working.  (lib.mak, int.mak)

Adds an explicit directory name to more files in the makefiles.  (jpeg.mak,
lib.mak) Added in this fileset:
	.$(OBJ): jpeg.mak,  {dvx-tail,msvclib,openvms,os2,ugcclib,unixtail,
		watc,watclib,winint,winlib}.mak
	.dev:	jpeg.mak

Removes the default suppression of 'const' with gcc.  You must now compile
with gcc 2.7.2.1 or newer, or patch the makefile.  (ugcclib.mak,
unix-gcc.mak)

Removes -DPNG_USE_CONST from the command line for compiling libpng, since
this has never actually worked, and is handled in a different way starting
with libpng 0.97.  (gs.mak)

Adds a -dSTRICT switch that disables some Ghostscript extensions, to be more
helpful in debugging applications that produce output for Adobe and other
RIPs.  (gs_init.ps, gs_statd.ps)

</pre><h3><a name="V5.21_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- Many occurrences of 'const' were missing or incorrect.
(gdevpdfd.c, gdevpdfi.c, gdevpdfo.c, gdevpdft.c)
	- pdfmark processing was broken by changes introduced in 5.20.
(gs_pdfwr.ps)
	- pdfwrite didn't convert /Color =&gt; /C or /Title =&gt; /T in ANN and
LNK pdfmarks.  (gdevpdfm.c)
	- pdfwrite didn't convert /Dest =&gt; /D or /File =&gt; /F in the Action
dictionary of ANN and LNK pdfmarks.  (gdevpdfm.c)
	- pdfwrite didn't convert a /Launch annotation to an Action with a
dictionary.  (gdevpdfm.c)
	- pdfwrite didn't convert \n in annotation Contents strings to \r.
(gdevpdfm.c)
	- jstrm.state was used before being set.  (gdevjpeg.c)
	- The SVGA devices were not identified as page devices.
(gdevsvga.c)
	- The SPARCPrinter driver returned the address of a local buffer
containing an error string.  (gdevsppr.c)
	- pdfwrite no longer compressed character bitmaps.  (bug introduced
in 5.20) (gdevpdfi.c)
	- pdfwrite didn't recognize _objdef syntax everywhere.  (gdevpdfx.h,
gdevpdfm.c, gdevpdfo.c)
	- pdfwrite didn't recognize and convert Launch and GoToR OUT
pdfmarks.  (gdevpdfm.c)
	- pdfwrite used a /Dest key rather than a /P key for the page number
in articles.  (gdevpdfx.h, gdevpdfm.c)
	- pdfwrite didn't save and write the /I dictionary for articles.
(gdevpdfx.h, gsstruct.h, gdevpdf.c, gdevpdfm.c)

Implements a parameter list "reader" that prints the parameter values on a
stream in PS/PDF syntax.  (We need something like this for printing filter
parameters.)  (gdevpsdf.h, gdevpdf.c, gdevpsdf.c)

Implements a write stream that just keeps track of the position.  We use
this to determine how much space to allocate for data we're going to save.
(gdevpsdf.h, gdevpsdf.c)

Implements image downsampling, but not anti-aliasing, for the PDF writer.
(gdevpsdf.h, gdevpsds.h, gdevpsdi.c, gdevpsds.c)

</pre><h3><a name="V5.21_Fonts"></a>Fonts</h3><pre>

Adds Frutiger to the built-in list of sans-serif fonts.  (gs_fonts.ps)

</pre><h3><a name="V5.21_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Many occurrences of 'const' were missing.  (gsargs.c, ialloc.c,
zdpnext.c, zfunc3.c, zshade.c)
	- Some byte * =&gt; char * casts were missing.  (imainarg.c)
	- The stack limit check in .eqproc was wrong.  (zmisc3.c)
	- The paper sizes a4small and lettersmall weren't implemented.
(gs_statd.ps)
	- setuserparams signalled errors on 64-bit systems.  (zusparam.c)

Changes .image2 to track the change in the library.  (zdps.c)

Some improvements were made to the (still not entirely functional) Type 32
font code.  (zchar32.c)

Updates some filters to use the new procedure for transmitting collections
of parameters.  (zfdecode.c)

Adds ISO paper sizes C0 through C6.  (gs_statd.ps)

Trims down the list of #includes in iconf.c.  (iconf.c)

</pre><h3><a name="V5.21_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- CalGray color spaces with a Gamma value caused an error.
(gs_pdf.ps)

</pre><h3><a name="V5.21_Library"></a>Library</h3><pre>

Fixes bugs:
	- There was a 'const' conflict in the code for handling ImageType 2
images.  Fixing this properly required a small change in the ImageType 2
structure.  (gsiparm2.h, gximage2.c)
	- Many occurrences of 'const' were missing.  (gsfunc3.h, gstrap.h,
gxgetbit.h, gdevdgbr.c, gstrap.c, gxclist.c, gxclread.c)
	- A couple of enumerations had trailing commas.  (gsshade.h,
gxbitfmt.h)
	- The gcst parameter was omitted in the non-ANSI version of the
ENUM_PTRS_BEGIN_PROC macro.  (gsstruct.h)
	- gcc missed a private / non-private discrepancy.  (gxpcmap.c)
	- An uninitialized variable was used by mistake
(copy_params.options).  (gdevdgbr.c)
	- The last statement of a procedure was unreachable.  (gxclpath.c)
	- If a Type 2 font was transformed so that hints were not being
used, hintmask and cntrmask didn't compute the number of following bytes
correctly.  (gxtype1.h, gstype2.c, gxtype1.c)

Factors out some common code in gxclip2.c into macros.  (gxclip2.c)

Starts to reimplement RasterOp using the compositing framework.  (gsropc.h,
gxropc.h, gsropc.c)  ****** IN PROGRESS ******

Adds an equality-testing procedure for device colors.  This is used both for
color images (which previously did this adhoc) and for RasterOp compositing.
(gxdcolor.h, gximage.h, gxcht.c, gxdcolor.c, gxht.c, gspcolor.c)

Implements hintmask (but not cntrmask) for Type 2 CharString fonts.  I don't
know any reasonable way to test whether it's working, though.  (gxtype1.h,
gstype2.c, gxhint2.c, gxhint3.c, gxtype1.c)

Adds a more convenient interface for reading and setting sets of parameters.
(gsparam.h, gsparam.c)

Pulls the decision as to whether to halftone for a given device out into a
macro.  Eventually we will do something more sophisticated about this.
(gxdevice.h, gxclist.c, gxcmap.c)

Breaks apart a macro in anticipation of future usage.  (gsrefct.h)

</pre>

<hr>

<h2><a name="Version5.20"></a>Version 5.20 (limited) (1/8/98)</h2>

<p>
This fileset provides enough of the Display PostScript capabilities to start
running real programs.  It also adds the first few LanguageLevel 3 features
(none of which have been tested) and reorganizes the makefile structure
somewhat.  There are many internal changes since 5.10, some of them still in
progress, so we expect more problems than usual.

<p>
This fileset is being provided for testing in two different configurations:
a full release, and a DPS-only package.  The latter will be released with
the GPL when it is reasonably complete and reliable.

<h3><a name="V5.20_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- TrueType fonts on GS_FONTPATH weren't recognized.  (use.txt)
	- The argument list for gstate was incorrect.  (zdevice2.c)
	- There were a couple of minor errors in the e-stack documentation.
(estack.h)
	- fonts.txt had several errors regarding compiled fonts.
(fonts.txt)
	- An out-of-date Aladdin address still appeared in documentation.
(new-user.txt)

Updates make.txt to reflect the changes in makefile structure.  (make.txt)

Notes the addition of -Z' and -Z".  (use.txt)

Documents the new begin_typed_image, get_bits_rectangle,
map_color_rgb_alpha, and create_compositor driver procedures.  (drivers.txt)

Moves documentation for all releases before 5.0 to history4.txt.  (NEWS,
history4.txt)

Documents the addition of SHARE_JPEGLIB.  (make.txt)

Removes the author's name and e-mail address from the ps2ascii man page, at
his request.  (ps2ascii.1)

Documents the addition of (some) image compression facilities to ps2pdf /
pdfwrite.  (ps2pdf.txt)

Documents the new -dNOINTERPOLATE and -F&lt;n&gt; switches.  (use.txt)

Adds documentation for a user-contributed port to the SMS/QDOS operating
system.  (new-user.txt)

Removes documentation for BGI, which is no longer supported.  (use.txt)

Documents the use of the Registry and the GS_DLL environment variable on
Windows platforms.  (install.txt)

</pre><h3><a name="V5.20_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The OpenVMS makefile referred to EXTEND_NAME rather than
EXTEND_NAMES.  (openvms.mak)
	- A typo caused a spurious error message from lpr.  (unix-lpr.sh)
	- The PDF writer didn't include a needed dependency on zlib
compression.  (devs.mak)
	- The rule for the OS/2 printer device was wrong.  (devs.mak)
	- The -migrate switch was incorrectly removed from the command line
for pre-4.0 Digital Unix.  (make.txt)
	- The -r switch was ignored with -dNODISPLAY.  (gs_init.ps)

Adds targets for Type 32 fonts (type32.dev) and PostScript LanguageLevel 3
(psl3.dev, psl3core.dev, psl3read.dev).  (gs.mak, int.mak, lib.mak)

Changes the documented feature names for PostScript Level 1 and 2
interpreters from level1/2 to psl1/2.  The old names are still recognized
for backward compatibility.  (gs.mak, int.mak, *.mak)

Removes support for building with DCL under VMS.  Building under VMS now
requires some version of make, preferably GNU make.  THIS IS A
NON-BACKWARD-COMPATIBLE CHANGE, but there was plenty of lead time for users
(it was announced in 5.01, 6/22/97).  (vms*.mak[deleted])

Starts to add an explicit directory name to every file in the makefiles, to
allow building multiple object versions (e.g., debug, profile, product) or
cross-building for multiple platforms in separate directories without any
makefile editing.  (*.mak) Done so far:
(done)	_h=	devs.mak gs.mak int.mak jpeg.mak lib.mak
(done)	.h	devs.mak gs.mak int.mak lib.mak zlib.mak
		openvms.mak os2.mak ugcclib.mak unix-end.mak
		unixtail.mak wctail.mak winint.mak winlib.mak
	.$(OBJ): devs.mak int.mak (except ccfonts)
		lib.mak (except special compilations)
		libpng.mak zlib.mak
	.dev:	libpng.mak zlib.mak

Gets rid of tar_cat.  Building on Unix platforms now requires that make
recognize the include directive.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE:
rather than editing the *head.mak files, users should now edit the unix*.mak
or dvx*.mak files (which they previously were instructed NOT to do).  Aside
from this, we think the change won't actually affect anyone, since most Unix
make programs (include GNU make) do recognize this directive.  (*.mak,
ansihead.mak[deleted], cc-head.mak[deleted], gcc-head.mak[deleted],
dgc-head.mak[deleted], tar_*cat[deleted], dvx-gcc.mak, unixansi.mak,
unix-cc.mak, unix-gcc.mak)

Includes the basic context machinery in every PostScript interpreter
configuration.  (int.mak)

Removes the division between 'low-level' and 'high-level' band list
facilities: we once thought we might make the latter optional, but this no
longer seems useful.  (lib.mak)

Introduces a new category of devices, identified to genconf as -dev2 and
created with SETDEV2 and SETPDEV2.  For the moment, these are the same as
existing devices except that their static instance is const, but we plan to
make them quite different in the future: don't attempt to create any.
(devs.mak, gs.mak, genconf.c, gconf.c)

Removes the obsolete -includef resource from genconf.  (genconf.c)

Removes support for IJG JPEG library v5* from the makefile, since we no
longer support these library versions.  (jpeg.mak, lib.mak,
gsjerror.h[deleted], gsjpglib.h[deleted], gsjerror.c[deleted])

Makes the JPEG library use floating point if it is fast.  (gsjmorec.h)

Adds a SHARE_JPEG option to the makefiles, with the necessary warning about
possible incompatibilities.  (*.mak)

Replaces the CCC macro in the makefiles with CC_, the various CC* macros
with CC_* (except for CCA2K and CCAUX), and the O macro with O_; removes the
'begin' target and the CCBEGIN macro.  THIS IS A NON-BACKWARD-COMPATIBLE
CHANGE, required for the new arrangement of files into directories.  (*.mak)

Replaces all occurrences of -Idir1 -Idir2 ... -Idirn in platform-generic
makefiles with $(I_)dir1 $(II)dir2 ... $(_I)dirn, and defines these macros
in platform-specific makefiles, in order to accommodate OpenVMS command
syntax.  (*.mak)

Adds -fno-common to the default gcc compilation and linking switches, to
improve checking for doubly-defined externs.  (unix-gcc.mak)

Adds a -dNOINTERPOLATE switch to turn off image interpolation.  (gs_init.ps)

Adds a -F&lt;file&gt; switch that runs files through the run_string interface with
an 1-byte buffer.  (imainarg.c)

Allows specifying the name of the gconfig.h file with -DGCONFIG_H= in the
compilation command line, to support certain multi-configuration build
procedures.  (int.mak, lib.mak, gconf.h, gconf.c, gscdef.c, iconf.c)

Splits off the installation targets from unix-end.mak.  (unix-end.mak,
unixinst.mak, unix*.mak, ugcclib.mak)

</pre><h3><a name="V5.20_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- A case label was misplaced.  (No effect on normal operation.)
(genconf.c)
	- ps2ascii had some Encoding-related problems, and a serious bug
causing the stack to grow indefinitely.  (ps2ascii.ps)

Adds a new font2pcl.ps utility, for converting outline fonts to bitmapped
PCL fonts.  (font2pcl.ps)

At the request of a user, modifies ansi2knr to read stdin if no input file
is supplied, and to accept an optional --filename switch to set the file
name in the #line directive.  Also makes ansi2knr write the usage message on
stderr rather than stdout.  (ansi2knr.c)

Adds a user-contributed Perl script that fixes compatibility problems
between MS Word output and Ghostview 1.5.  (fixmswrd.pl)

Adds a new test file that produces some pretty color output.  (vasarely.ps,
unix-end.mak)

Adds a user-contributed utility for producing AFM files from PFA/PFB and
optionally PFM files.  (pf2afm.bat, pf2afm.ps)

</pre><h3><a name="V5.20_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- Some 'static' declarations were missing (gcc lossage).  (gdevht.c,
gdevmgr.c, gdevpcfb.c, gdevrrgb.c)
	- Some 'char *' should have been 'unsigned char *'.  (gdevccr.c)
	- The PDF writer represented non-rectangular clipping paths in a way
that could cause Acrobat to produce incorrect output.  (The fix relies on
the new clipping path enumeration facility.)  (gdevpdfd.c)
	- get_params for the X device didn't read the WINDOWID and
.IsPageDevice parameters.  (gdevx.c)
	- A superseded driver was still in the distribution.
(gdevnp6.c[deleted])
	- The PDF writer's default parameters didn't quite match the default
parameters of Adobe Acrobat(TM).  (gdevpsdf.h)
	- A cast from const byte * to const char * was omitted.
(gdevpdft.c)
	- x_map_color_rgb returned incorrect values for values in the dither
cube/ramp.  (gdevx.c)

Adds user-contributed drivers for:
	- the Brother HL 720/730 laser printer (gdevhl7x.c);
	- the Cirrus Logic CL-GD54xx SuperVGA chipset (in gdevsvga.c).

Adds stubs or dummy implementations for the new Acrobat Distiller 3.0
pdfmark features (BP/EP/SP, _objdef/OBJ, PUT/PUTINTERVAL/CLOSE).  Features
not yet implemented:
	- Predefining Catalog and DocInfo.
	- Writing out added Catalog and Info keys.
	- Special handling for Page#, Prev/This/NextPage.
	- Writing out added keys in Page objects.
	- Defining objects for ANN, DEST, LNK, PS.
	- Writing out added keys for ANN, BP, DEST, LNK, PS.
	- Adding information to streams (PUT, CLOSE).
	- Writing out streams.
(gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdfi.c, gdevpdfm.c, gdevpdfo.c)

Removes the DoThumbnails distiller parameter, which Acrobat Distiller 3.0 no
longer supports.  (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdfp.c)

Starts to eliminate or segregate writable globals that point to
heap-allocated data, as in the interpreter (see below); specifically, makes
all device and xfont procedure structures const in devices that Aladdin
maintains.  Note that this involves a NON-BACKWARD-COMPATIBLE CHANGE in the
get_xfont_procs device procedure (to add const to the return type); this
only affects the 3 implementations of xfonts.  (gdevprn.h, gdevdjet.c,
gdevm1.c, gdevpccm.c, gdevpdf.c, gdevpdfm.c, gdevpdft.c, gdevps.c,
gdevpsdf.c, gdevpx.c; gxdevice.h, gxxfont.h, gdevbgi.c, gdevbit.c,
gdevbmp.c, gdevdflt.c, gdevdjet.c, gdevlj56.c, gdevmiff.c, gdevmsxf.c,
gdevnfwd.c, gdevpbm.c, gdevpcfb.c, gdevpdf.c, gdevpng.c, gdevprn.c,
gdevps.c, gdevpx.c, gdevs3ga.c, gdevsvga.c, gdevtfax.c, gdevtfnx.c,
gdevvglb.c, gdevwddb.c, gdevwdib.c, gdevwpr2.c, gdevwprn.c, gdevx.c,
gdevxalt.c, gdevxxf.c, gxccman.c)

Makes the statically allocated device templates const in some devices, using
the new -dev2 device resource type.  NOTE: the meaning of -dev2 is subject
to change without notice in future releases.  (gdevdjet.c, gdevpdf.c,
gdevps.c, gdevpx.c, gdevvglb.c)

Adds a new begin_typed_image driver procedure which is called for all types
of images, not just ImageType 1.  The default implementation calls
begin_image if the ImageType is 1.  (gdevmem.h, gdevprn.h, gsiparam.h,
gxdevice.h, gdevbbox.c, gdevdflt.c, gdevht.c, gdevmrop.c, gdevnfwd.c,
gxacpath.c, gxclimag.c, gxclip2.c, gxclist.c, gxcpath.c, gxpcmap.c)

Adds a new get_bits_rectangle driver procedure which allows reading back an
arbitrary rectangle of bits from the device, not just a single full scan
line.  The default implementation calls get_bits, being careful to avoid a
recursion loop; the default implementation of get_bits calls
get_bits_rectangle similarly.  This procedure has a lot of flexibility,
almost all of which is ultimately provided by the implementation in memory
devices.  (gdevmem.h, gsbitops.h, gxcindex.h, gxdevice.h, gdevbbox.c,
gdevdflt.c, gdevdgbr.c, gdevht.c, gdevm*.c, gdevmem.c, gdevmpla.c,
gdevnfwd.c, gxbitfmt.h, gxclip2.c, gxclist.c, gxclread.c, gxcpath.c,
gxgetbit.h)

Removes support for the BGI (Borland Graphics Interface) device, since we no
longer support the Borland compilers for MS-DOS.  (devs.mak, dvx-head.mak,
openvms.mak, unixhead.mak, gdevbgi.c[deleted])

Speeds up x_map_color_rgb by avoiding server access in most cases.
(gdevx.h, gdevx.c, gdevxini.c)

Implements get_bits_rectangle in the X driver in place of get_bits.
(gdevx.c, gdevxalt.c)

Implements begin_typed_image for ImageType 2 images in the X driver, as an
example of how a driver can implement this function itself.  (gdevx.c)

Adds a call on the DCTEncode set_defaults procedure, which is now required
(see under Streams below).  (gdevjpeg.c)

Implements a substantial part of the Distiller image compression machinery.
See ps2pdf.txt for details.  (gdevpdfx.h, gdevpsdf.h, gdevpdf.c, gdevpdfi.c,
gdevps.c, gdevpsdf.c, gdevpsdi.c, gdevpsdp.c, gdevpsds.c)

Adds a map_color_rgb_alpha driver procedure, complementing
map_rgb_alpha_color.  (gdevmem.h, gdevprn.h, gxdevice.h,
gdevbbox.c, gdevdflt.c, gdevht.c, gdevmrop.c, gdevnfwd.c, gdevprn.c,
gxclip2.c, gxclist.c, gxcmap.c, gxcpath.c)

Splits off gxdevcli.h (client definitions) from gxdevice.h, which had gotten
very large.  This doesn't do much good yet in terms of reducing dependencies
and compilation time, because every client still includes gxdevice.h, but
it's the raw material for doing so in the future.  (gxdevcli.h, gxdevice.h)

Adds alpha tracking to the command list.  (gxclpath.h, gxclimag.c,
gxclpath.c, gxclread.c)

Changes the 'show' pseudo-parameter for the PDF writer so that it takes
multiple additional parameters instead of a dictionary.  This greatly
reduces garbage collection overhead.  (gs_pdfwr.ps, gdevpdfx.h, gdevpdfp.c,
gdevpdft.c)

Adds a create_compositor driver call for handling compositing.  (gdevbbox.h,
gdevmem.h, gdevprn.h, gsdevice.h, gxdevcli.h, gxdevice.h, gdevbbox.c,
gdevdflt.c, gdevht.c, gdevnfwd.c, gsdevice.c, gxclimag.c, gxclip2.c,
gxclist.c, gxcpath.c, gxpcmap.c)

Updates drivers to account for the more careful handling of file name
length.  (gdevpdfx.h, gdevwprn.c)

Adds a user-contributed enhancement to make the Epson dot matrix driver work
at 180x60dpi and 240x180dpi for 24 pin printers.  (gdevepsn.c)

</pre><h3><a name="V5.20_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The Windows platform didn't put stdin into binary mode.
(dwmainc.cpp)

Removes all remaining uses of gs_malloc and gs_free in platform-specific
code.  (gp_dosfb.c, gp_vms.c)

Adds a platform-specific gp_getenv call, to allow the Windows implementation
to consult the Registry.  (gp.h, gpgetenv.h, gp_getnv.c, gp_wgetv.c, *.mak,
gp_win32.c)

Separates out the declaration of popen and pclose, which may be declared
correctly in stdio.h, incorrectly in stdio.h, or not at all, depending on
the platform.  (lib.mak, unixtail.mak, pipe_.h, gdevpipe.c, gp_os2.c,
gp_os9.c, gp_unix.c)

Tweaks the platform-workaround header file conditionals a little more.
(malloc_.h, memory_.h).

Makes the Windows DLL check the GS_DLL environment/registry variable for the
location of the DLL.  (dwdll.cpp)

Defines the maximum length for the file name returned by
gp_open_scratch_file, and possibly by gp_open_printer.  (gp.h, gp_*.c)

</pre><h3><a name="V5.20_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- A 'flush' was missing from a debugging message.  (gs_fonts.ps)
	- Type 2 fonts didn't always have a PaintType entry.  (gs_cff.ps)
	- CIDFontType 0 fonts were broken, probably because of a recently
added validity test in the C code.  (gs_cidfn.ps)
	- Font types without an Encoding caused an error (in .completefont).
(gs_fonts.ps)
	- composefont required the elements of the font array to be actual
fonts, rather than allowing font names.  (gs_cidfn.ps)
	- composefont required that all elements of the font array have
CIDSystemInfo dictionaries.  (Adobe has said that their interpreters don't
check for this in some cases, but it's a bug.  Unfortunately, by now it's an
established one.)  (zfcmap.c)

Adds .dir to the list of file suffixes known not to be fonts.  (gs_fonts.ps)

</pre><h3><a name="V5.20_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- A Type 2 font that provided fewer CharStrings than charset
elements caused an error.  (gs_cff.ps)
	- If a context was joined before it terminated, its stack was never
copied to the joining context.  (zcontext.c)
	- Freeing a context didn't free most of its substructures.
(icontext.h, istack.h, icontext.c, interp.c, istack.c, zcontext.c)
	- save and restore didn't save and restore the user parameters.
(gs_lev2.ps, zvmem2.c)
	- %stdin and %stdout weren't defined per-context.  (files.h,
icontext.h, icontext.c, ziodev.c)
	- Switching contexts didn't clean up the stacks.  (The current way
we do this is very inefficient: we should use a special null for filling the
untouched area, so we can use it to detect the high water mark.)
(icontext.c)
	- A cast from const to non-const was missing.  (zdpnext.c)
	- User parameters weren't managed per-context.  (The current way we
do this is inefficient.)  (gs_dps.ps, gs_init.ps, gs_lev2.ps, isave.h,
icontext.c, iinit.c, isave.c, zcontext.c, zusparam.c)
	- Some operand checks weren't wrapped in do { ... } while(0),
possibly leading to incorrect parsing of 'if's.  (opcheck.h)
	- If a context terminated with unmatched saves, the restores weren't
executed.  (isave.h, isave.c, zcontext.c)
	- If two or more contexts shared the same global VM, the outermost
restore (which in this case saves only local VM) checked for invalidrestore
incorrectly.  (isave.c)
	- resourceforall didn't remove its own temporary values from the
operand stack when calling the procedure.  (gs_res.ps)
	- resourceforall returned local instances even when currentglobal
was true.  (gs_res.ps)
	- If a context had unmatched saves, other contexts sharing the same
local VM weren't blocked from running.  (zcontext.c)
	- The NeXT compositing operations (Copy, etc.) weren't defined in
systemdict.  (gs_dpnxt.ps)
	- In the case of a stack overflow, some garbage could get left on
the stack.  (istack.c)
	- Stack overflow was reported prematurely -- typically when the
stack depth had reached half the specified limit.  (istack.c)
	- Freed ref arrays weren't filled with nulls, which could confuse
the garbage collector later.  (ialloc.c)
	- Certain stack overflow conditions could put a stack into an
anomalous state that confused the garbage collector.  (istack.c)
	- The maximum stack size could not be set to a value smaller than
the current allocated space, but the minimum value should be the number of
entries actually in use.  (istack.c)
	- If .buildfont* had to add any elements to the font dictionary, a
temporary pointer to the Encoding, FDepVector, or sfnts could become
invalid, causing crashes or confusion.  (zfont0.c, zfont2.c, zfont42.c)

Changes exit, stop, and .stop so that if there is no matching dynamically
enclosing context (loop or stopped), the effect is a quit, like the Adobe
interpreters, and not an invalidexit.  (zcontrol.c)

Adds support for ImageTypes other than 1.  (gs_init.ps, gs_lev2.ps,
gs_res.ps, zimage2.c)

Adds support for LanguageLevel 3 features:
	- Idiom recognition in 'bind'.  (gs_init.ps, gs_dps.ps, gs_lev2.ps,
gs_ll3.ps, zmisc3.c)
	- HalftoneTypes 6, 10, and 16.  (gs_ll3.ps)
	- FunctionType resource category.  (gs_ll3.ps)
	- FunctionType 2 and 3 Functions.  (zfunc3.c)
	- PatternType 2 and smooth shading (structures and API only, no
algorithms).  (gs_init.ps, gs_ll3.ps, gs_res.ps, zshade.c)
	- In-RIP trapping (structures and API only, no algorithms).
(gs_ll3.ps, ztrap.c)
	- ImageType 3 and 4 (masked images) (structures and parsing only, no
algorithms). (gs_ll3.ps, gs_res.ps, iimage2.h, zimage.c, zimage2.c,
zimage3.c)
	- DevicePixel color space.  (gs_lev2.ps, zcolor2.c, zcspixel.c)
	- DeviceN color space.  (gs_lev2.ps, igstate.h, zcsdevn.c)

Adds support for Type 32 fonts.  (gs_cidfn.ps, gs_init.ps, gs_typ32.ps,
zchar32.c, zfont32.c)

Adds debugging printout to the CFF loader.  (gs_cff.ps)

Removes support for _ds pointers referencing the stacks, since we no longer
support 16-bit implementations.  (iref.h, istack.h, interp.c, ireclaim.c,
istack.c)

Removes all #ifdef DPNEXT conditionalization.  (We had intended to use this
to delimit blocks of code to be released with the GPL, but we're now
planning to release a much larger number of files.)  (igstate.h, interp.h,
istruct.h, interp.c, zgstate.c)

Allows user parameters to be implemented partly in PostScript code, since
this is required for some LanguageLevel 3 features (currently only
IdiomRecognition).  (gs_lev2.ps)

Removes most of the references to a global process scheduler.  Completing
this will require passing an interpreter state structure to all operators in
place of the operand stack pointer, which we aren't prepared to contemplate
yet.  (zcontext.c)

Adds tracing for context operations, -Z' and -Z".  (zcontext.c)

Changes def so that it doesn't have a special exception for storing
references to local objects into systemdict or its subsidiary dictionaries
during initialization: such stores now must use .forceput (or .forcedef,
defined in gs_init.ps using .forceput); changes .forceput to allow storing a
local reference into any global dictionary, not only systemdict, if the save
level is 0.  (gs_dps1.ps, gs_init.ps, gs_lev2.ps, gs_pdfwr.ps, gs_res.ps,
gs_statd.ps, zdict.c)

Moves all of the initialization of internaldict to PostScript code.
(gs_init.ps, iinit.c, zcontrol.c)

Moves the JobName user parameter from C to PostScript code.  (gs_lev2.ps,
zusparam.c)

Adds to every dictionary a pointer to the allocator that created it.  This
allows us to create and grow dictionaries without having to reference any
global variables.  (idict.h, idict.c, iinit.c)

Implements the localfork operator, which creates contexts with private local
VM.  (gs_dps.ps, gs_init.ps, dstack.h, gsalloc.h, ialloc.c, icontext.c,
iinit.c, interp.c, zcontext.c)

Systematizes reliable access to variables in systemdict and userdict.
(gs_dps1.ps, gs_dps2.ps, gs_fonts.ps, gs_init.ps, gs_lev2.ps, gs_statd.ps,
gs_type1.ps)

Starts to eliminate or segregate writable globals that point to
heap-allocated data.  (Writable globals containing procedures,
run-time-settable switches, pointers to static data, or non-pointer values
that are initialized once and idempotently are OK.)  (iconf.c, iinit.c,
imain.c, imainarg.c, interp.c, zfont1.c, zht2.c, ziodev.c, ztype.c,
zupath.c, zusparam.c)

Adds support for ImageType 2 (device source) images.  (gs_dps.ps, zdps.c)

Adds begin_typed_image to internal device procedure vectors.  (zupath.c)

Increases the maximum stack sizes to match the Adobe implementation more
closely.  (gs_init.ps)

Adds a file_is_invalid macro to work around a bug in the Borland 5.0
compiler.  (files.h, ziodev.c, zvmem.c)

Changes the character cache to be allocated in the C heap rather than global
VM.  This is required because cache chunks are now allocated from the same
allocator as the cache.  (zfont.c)

Implements sizeimage and readimage, including a new .getbitsrect operator.
(gs_dpnxt.ps, gs_init.ps, zdevice.c, zdpnext.c)

Resets the maximum stack sizes earlier in initialization.  (gs_init.ps)

Tweaks the default CRD slightly (syntactically, not the content).
(gs_lev2.ps)

Adds support for PatternTypes other than 1.  (gs_init.ps, gs_lev2.ps,
gs_res.ps, zpcolor.c)

Adds a pointer to the C heap allocator to the gs_main_instance structure,
working towards the goal of removing all references to gs_memory_default.
(iminst.h)

Removes all remaining uses of gs_malloc and gs_free from the interpreter.
(igc.h, igc.c, imain.c, zfdctd.c, zfdcte.c)

Adds an explicit #include for all remaining uses of gs_memory_default in the
interpreter.  (zfdctd.c, zfdcte.c, zvmem.c)

Adds a map_color_rgb_alpha driver procedure, complementing
map_rgb_alpha_color.  (zupath.c)

Removes the obsolete writeppmfile operator.  (zwppm.c[deleted])

Updates the implementation of the image operators to match the change from
HasAlpha to Alpha in the image definition structure.  (iimage.h, zcolor1.c,
zimage.c)

Reimplements upath in C code, since UnpaintedPath requires it.  (zupath.c)

Updates interpreter code for the change in the GC interface. (imemory.h,
istruct.h, icontext.c, igc.c, igcref.c, igcstr.c, ilocate.c, iname.c,
isave.c, iscan.c, istack.c, zfproc.c)

Implements the compositing operators.  (zdpnext.c, zdps.c, zupath.c)

Changes some matrix operators to pass unpacked matrices on the stack.
(zmatrix.c)

Moves the alpha-related operators to where they belong.  (zcolor.c,
zdpnext.c)

Changes all calls on getenv to gp_getenv.  (imainarg.c, zmisc.c)

</pre><h3><a name="V5.20_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- PostScript pass-throughs caused an error.  They are now always
executed; probably we should offer the option of not executing them, for
closer compatibility with Acrobat.  (pdf_draw.ps, pdf_main.ps)
	- Font resources, unlike all other types of resources, couldn't be
inherited from an ancestor Page(s) object.  (pdf_font.ps)
	- Resources appearing only in Form or Pattern dictionaries weren't
recognized as being present.  (pdf_base.ps, pdf_draw.ps, pdf_main.ps)

Moves closer to supporting Type 0 (and CID) fonts.  (pdf_font.ps)

</pre><h3><a name="V5.20_Streams"></a>Streams</h3><pre>

Fixes bugs:
	- If the image was very narrow or very shallow, the interpolated
image scaling stream could make an invalid memory reference.  (siscale.c)

Removes the last few references to gs_malloc and gs_free from stream code.
Clients now *must* call the set_defaults procedure for the DCT filters
before initializing them: THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.
(sdct.h, sdctd.c, sdcte.c, sjpegc.c)

Adds an explicit #include for all remaining uses of gs_memory_default.
(sdctd.c, sdcte.c, szlibd.c, szlibe.c)

</pre><h3><a name="V5.20_Library"></a>Library</h3><pre>

Fixes bugs:
	- Some files that included shc.h didn't include scommon.h.  (shc.h)
	- A file didn't include std.h before &lt;stdio.h&gt;.  (gslib.c)
	- There was an unnecessary extern (cleanup only).  (gscsepr.c)
	- The uid.xvalues member of gs_client_pattern structures wasn't
traced by the GC.  (gspcolor.h)
	- If an Interpolated image reached the end of the input at exactly
the wrong time, an assertion could fail.  (gxiscale.c)
	- With non-ANSI compilers, an integer constant passed to the fmod
library function, which requires a floating point argument, could cause a
floating point exception or an incorrect result.  (gsmisc.c)
	- An error in computing the bounding box sometimes caused strokes to
print incorrectly (for example, some graduated fills printed incorrectly).
(gxstroke.c)

Implements an undocumented (!) feature of Type 2 CharStrings, namely that if
the endchar operator is invoked with 4 or 5 operands on the stack, it is
equivalent to the Type 1 seac operator (without the asb operand).  This
required changing the implementation of seac so that it does the base
character first, rather than the accent.  (gxtype1.h, gstype1.c, gstype2.c,
gxtype1.c)

Adds support for ImageTypes other than 1.  (gsiparam.h, gximage.h,
gxiparam.h, gdevddrw.c, gsimage.c, gximage.c, gximage0.c)

Adds support for ImageType 2 (device source) images.  Currently we only
handle the simplest case (source is not transformed).  (gsimage.h,
gsiparm2.h, gsimage.c, gximage2.c)

Adds support for LanguageLevel 3 features:
	- FunctionType 2 and 3 Functions.  (gsfunc3.h, gsfunc3.c)
	- PatternType 2 and smooth shading (structures and API only, no
algorithms).  (gscolor3.h, gsptype2.h, gsshade.h, gxistate.h, gscolor3.c,
gsshade.c)
	- In-RIP trapping (structures and API only, no algorithms).
(gstrap.h, gstrap.c)
	- ImageType 3 (masked images) (structures and API only, no
algorithms).  (gsiparm3.h, gximage3.c)
	- ImageType 4 (chroma-keyed masked images).  (gsiparm4.h,
gximage4.c)
	- DevicePixel color space.  (gscpixel.h, gscspace.h, gscpixel.c,
gximono.c)
	- DeviceN color space.  (gscspace.h, gscdevn.c)

Removes the #ifdef FUTURE around the code for passing multi-plane and
interpolated images through the band list (version 5.01) and for banded
filling and stroking with colored halftones (version 4.71).  This code is
now part of the standard release.  (gxcldev.h, gxclpath.h, gxdht.h,
gxhttype.h, gsht.c, gxclimag.c, gxclread.c, gximage.c)

Adds a _ptrs6 structure definition macro.  (gsstruct.h)

Removes #ifdef DPNEXT conditionalization, as in the interpreter (see above).
(gzstate.h, gsdps.c, gsstate.c, gximage.c, gximage5.c)

Starts to eliminate or segregate writable globals that point to
heap-allocated data, as in the interpreter (see above).  (gsbittab.h,
gscdefs.h, gsdcolor.h, gxclist.h, gxsample.h, gzht.h, gconf.c, gsbitops.c,
gsbittab.c, gscdef.c, gsdparam.c, gsflip.c, gsinit.c, gsmatrix.c,
gspcolor.c, gsstate.c, gxcht.c, gxclist.c, gxcmap.c, gxdcolor.c, gxdither.c,
gxht.c, gximage.c)

Removes the division between 'low-level' and 'high-level' band list
facilities.  (gxcldev.h, gxclimag.c, gxclist.c, gxclpath.c)

Renames gximage*.c as gxi*.c, since these files apply only to ImageType 1
images and the use of numerical suffixes was confusing.  (gximage.c =&gt;
gxiinit.c, gximage0.c =&gt; gxidata.c, gximage1.c =&gt; gxifast.c,
gximage2.c =&gt; gximono.c, gximage3.c =&gt; gxicolor.c, gximage4.c =&gt;
gxi12bit.c, gximage5.c =&gt; gxiscale.c)

Provides the ability to enumerate a clipping path (based on the clipping
list) using an enumerator, in the same way as an ordinary path.  (gxpath.h,
gzcpath.h, gzpath.h, gxcpath.c, gxpath2.c)

Speeds up mem_mapped4_copy_mono substantially.  (gdevm4.c)

Removes all remaining uses of gs_malloc and gs_free in the library, other
than in drivers.  This turned out to require changing a couple of
initialization APIs.  (gsfont.h, gslib.h, gxdevice.h, gxfcache.h, gsfont.c,
gxccman.c)

Reduces the writable statics related to the default (C heap) allocator to a
single pointer.  (gsmalloc.h, gsmemory.h, gsinit.c, gsmemory.c)

Adds support for PatternTypes other than 1.  (gscolor2.h, gspcolor.h,
gsptype1.h, gxcolor2.h, gspcolor.c)

Adds an explicit #include for all remaining uses of gs_memory_default that
aren't covered by gxdevice.h.  (gxclmem.c)

Splits off the default implementations of the bit-copying device procedures,
because the file was getting too large.  (gdevdbit.c, gdevdflt.c)

Adds a procedure for calculating the difference of two rectangles, needed
for Type 2 images.  (gsrect.h, gxpath.h, gsutil.c)

Extends the image machinery to allow alpha values to either precede or
follow color values in image data, replacing HasAlpha with Alpha in the
ImageType 1 image structure.  (gsiparam.h, gximage.h, gsimage.c, gxclimag.c,
gxclread.c, gxicolor.c, gxiinit.c, gxiscale.c)

Extends the path enumeration API to decouple path copying from coordinate
transformation.  (gspath.h, gzpath.h, gspath1.c, gxpath2.c)

Changes the garbage collector interface so that all procedures are passed
through a structure rather than being referenced as externs.  This allows
programs other than the GC itself to enumerate and relocate pointers, and
also removes all static dependencies on the GC from the library.  This
involves a NON-BACKWARD-COMPATIBLE CHANGE to the argument list of enum_ptrs
procedures, and to the implementation of both enum_ptrs and reloc_ptrs.  (We
hope that the new macros we've introduced will avoid non-backward-compatible
changes in the future.)  (gsstruct.h, gdevmem.c, gsalloc.c, gscdevn.c,
gscolor.c, gscolor2.c, gscsepr.c, gsdevice.c, gsfont.c, gshtscr.c,
gsimage.c, gsmemory.c, gspcolor.c, gsstate.c, gxcmap.c, gxcpath.c, gxht.c,
gxiinit.c)

Moves the image compositing code into the library from its inappropriate
home in the interpreter.  (gsdpnext.h)

Splits up gsbitops.h into client interface and implementation support.
Removes some obsolete code at the same time.  (gdevmem.h, gsbitops.h,
gxbitops.h, gsbitops.c)

Creates the concept of compositing functions and compositing devices
(compositors).  (gscompt.h, gxcomp.h)

Implements the default compositor for alpha-based compositing.  (gsalphac.h,
gsalphac.c)

Creates a store_alpha device that adds alpha channel storage to any other
device.  (gdevalph.c)

Moves alpha channel capability into the dpsnext feature, where it should
have been all along.  (gsalpha.h, gscolor.h, gsalpha.c, gscolor.c,
gsstate.c)

Implements color premultiplying by (non-unity) alpha values.  Currently we
always premultiply towards white: see gxalpha.h for some comments.
(gxalpha.h, gxcmap.c)

Reduces the amount of boilerplate in the RasterOp implementation table.
(gsroptab.c)

Adds an arg_push_temp_string procedure to accommodate the new gp_getenv
call.  (gsargs.h, gsargs.c)

Updates various library APIs to account for the more careful handling of
file name length.  (gdevprn.h, gxclio.h, gxclist.h, gsdevice.c, gxclfile.c,
gxclmem.c)

</pre>

<hr>

<h2><a name="Version5.10"></a>Version 5.10 (11/23/97)</h2>

<p>
This release, not originally planned, greatly reduces the size of PDF files
produced by the pdfwrite device, fixes a number of minor problems in PDF
output, and optionally produces output compatible with Acrobat 2.x, in order
to address problems reported by NSF in processing these files as part of
their FastLane electronic proposal submission process.  Aside from that, and
some localized bug fixes, it has minimal changes from 5.03.

<h3><a name="V5.10_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- ansihead.mak referred to unix-ansi.mak, which is actually named
unixansi.mak.  (ansihead.mak)
	- README referred to an "If you need help" section that was moved to
new-user.txt.  (README)

Updates build information for HP-UX systems.  (make.txt)

Updates the information for getting Martin Lottermoser's hpdj driver.
(new-user.txt)

Improves the error message when a user tries to invoke gswin32c without
explicitly selecting a device.  (dwmainc.cpp)

Removes the author's name and e-mail address from the pdf2ps man page, at
his request.  (pdf2ps.1)

Improves the documentation for BandBufferSpace.  (language.txt)

</pre><h3><a name="V5.10_Procedures"></a>Procedures</h3><pre>

Changes the VMS command files so that they don't echo the commands.
(append_l.com, copy_one.com, rm_all.com, rm_one.com)

</pre><h3><a name="V5.10_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- The "lp" command files all inappropriately set the top margin to
0.1".  (lp386.bat, lp386r2.bat, lpgs, lpgs.bat, lpr2, lpr2.bat)
	- The lp386[r2].bat command files inappropriately set the
LanguageLevel to 1.  (lp386.bat, lp386r2.bat)

</pre><h3><a name="V5.10_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The PDF writer got confused about the current color if the input
contained text strings separated only by color changes.  (gdevpdf.c)
	- Some casts between const char * and const byte * were incorrect
(warnings only).  (gdevpdft.c)

Adds a NoCancel parameter to the winpr2 device, which suppresses display of
the dialog box.  (gdevwpr2.c)

</pre><h3><a name="V5.10_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- An "extern" was omitted, causing a duplicate definition of
build_function_procs.  (ifunc.h)
	- The global pseudo-operator table was too small, causing a
limitcheck in ps2ascii.  (iinit.c)
	- setcolorspace with a Pattern space with no underlying space would
cause an error if the current color space was a Pattern space.  (zpcolor.c)
	- The Decode key was optional, not required, in the dictionary form
of image[mask].  (zimage2.c)

Adds two more PCL/PJL reset sequences to the list of sequences to ignore.
(gs_init.ps)

</pre><h3><a name="V5.10_Library"></a>Library</h3><pre>

Fixes bugs:
	- Multi-screen color halftones could produce "seams".  (gxcht.c)
	- A bug in the gcc optimizer on H-P RISC workstations caused all
curves to be output as lines.  (gxpflat.c)
	- If a non-standard OtherSubr was called before the [h]sbw in a Type
1 font, a crash could occur.  (gxhint3.c)
	- gxclist.c didn't include string_.h.  (gxclist.c)

</pre>

<hr>

<h2><a name="Version5.07"></a>Version 5.07 (limited) (10/31/97)</h2>

<p>
A few more bug fixes for the 5.10 release.

<h3><a name="V5.07_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Some file and directory names hadn't been updated to match the new
directory structure on the primary server.  (make.txt, new-user.txt)

Adds the URL for reaching URW++.  (Fontmap.*)

</pre><h3><a name="V5.07_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- Because the C % operator isn't equivalent to 'modulus' for
negative numerators, gx_default_strip_tile_rectangle could crash in some
cases.  (gxdevice.h, gdevdflt.c)
	- In the PDF writer, Dest values were correct (page numbers) for
GoToR actions, but were incorrect (should be page object references) for
other actions; also, Rect values were transformed, but should not be.
(gdevpdfm.c)
	- In the PDF writer, articles and bookmarks could attempt to write
multiple Contents streams, which is not allowed.  (gdevpdfx.h, gdevpdf.c,
gdevpdfm.c)
	- The PDF writer ignored PS (PostScript pass-through) pdfmarks.
(gdevpdfm.c)
	- The PDF writer didn't write out the color space parameters for
CIE-based spaces.   (gdevpdfi.c)

</pre><h3><a name="V5.07_Library"></a>Library</h3><pre>

Fixes bugs:
	- Suffix subclass structures with 4 added pointers skipped the first
pointer in the superclass when garbage collecting, possibly causing invalid
memory accesses.  (gsstruct.h)
	- An argument list incompatibility in a procedure used in a static
structure initialization upset some compilers.  (gsfunc.h, gsfunc0.c)

</pre>

<hr>

<h2><a name="Version5.06"></a>Version 5.06 (limited) (10/7/97)</h2>

<p>
This fixes a few more bugs in the PDF writer, and a few other very obscure
problems.  It also adds support for Functions and brings multiple contexts
closer to working, neither of which we expect actually to be used any time
soon.  This is intended to be the candidate fileset for the 5.10 release,
but since we had to tinker with a delicate part of the PDF writer to fix a
problem affecting visual quality with Acrobat, there may be new bugs that
will have to be fixed in yet another candidate fileset.

<h3><a name="V5.06_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Jim McPherson's e-mail address was out of date.  (devices.txt)
	- Invoking ps2pdf with only a single file name is supported on some
versions of Windows NT and OS/2, not only on Unix.  (ps2pdf.txt)
	- The ps2pdf documentation didn't indicate that ps2pdf can use the
Windows "console mode" executable as well as the MS-DOS executable.
(ps2pdf.txt)
	- The list of which Distiller parameters actually have an effect was
incorrect.  (gdevpdfp.c)

Notes that the cdj550 driver is compatible with the H-P 660C and 660Cse.
(devs.mak, devices.txt)

Adds a note about using Acrobat Reader fonts.  (install.txt, use.txt)

Notes that the LJ 5P, like the 5L, is not a PCL XL printer.  (devs.mak)

Notes problems and possible problems with certain versions of the Borland
C++ compiler.  (make.txt)

Notes the change in -Z:.  (use.txt)

Updates the uniprint documentation for this release.  (devices.txt)

Expands the rationale for the large resolution in the bbox device.
(gdevbbox.c)

Notes that the H-P DeskJet 600 series can use the djet500 driver with -r600.
(devs.mak)

</pre><h3><a name="V5.06_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- Vector devices didn't include a necessary dependency on the stream
package.  (lib.mak)
	- There were several bugs in the ps2pdf.bat file.  (ps2pdf.bat)

Changes -Z: so it prints some summary lines as well as minimal information
about banding.  This makes the -ZA trace compatible with our memory leak
tool.  (iminst.h, imain.c)

</pre><h3><a name="V5.06_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- ps2epsi sometimes produced a too-large bounding box, or even
caused a rangecheck.  (ps2epsi)

At the advice of a user, removes the RESOLUTION=100 line from pv.sh.
(pv.sh)

</pre><h3><a name="V5.06_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The PDF writer produced incorrect output for stroke operations
with unusual CTMs, because PDF, unlike PostScript, applies the CTM to the
path at the time of the fill or stroke, not as the path is being
constructed.  (gdevpdfd.c)
	- Vector devices returned an error, instead of falling back to the
default implementations, when filling or stroking with a pattern.
(gdevvec.c)
	- The PDF writer freed an internal stream structure using the wrong
allocator, possibly causing memory corruption.  (gdevpdf.c)
	- The uniprint driver had some compilation problems, and possibly
other problems as well (consult the source file).  (gdevupd.c, *.upp)
	- With -dNOCACHE, the PDF writer wrote all text in the base 14 fonts
twice, once as text and once as outlines.  (gs_pdfwr.ps, gdevpdfd.c)
	- The PDF writer didn't properly recognize Symbol and ZapfDingbats
as being among the base 14 fonts.  (gs_pdfwr.ps)
	- When using Acrobat Reader with font smoothing turned on, the base
14 fonts appeared too bold on the screen in files produced by ps2pdf,
because Reader decides that a 100-unit font at 1 unit = 0.1 point should be
bolder than a 10-unit font at 1 unit = 1 point.  (gdevpdfx.h, gdevpdf.c,
gdevpdft.c)
	- The PDF writer didn't convert View/Page specifications for
bookmark pdfmarks to a Dest key, causing bookmarks not to work.
(gdevpdfm.c)

Speeds up the PDF writer by only passing the encoding if it isn't
StandardEncoding.  (gs_pdfwr.ps, gdevpdft.c)

Changes the PDF writer's handling of unencoded glyphs.  Adds device
parameters ReEncodeCharacters and ReAssignCharacters to control how
unencoded glyphs are handled.  (These parameters will go away when we handle
variant encodings in full generality.)  (gdevpdfx.h, gdevpdf.c, gdevpdfp.c,
gdevpdft.c)

</pre><h3><a name="V5.06_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- setpagedevice didn't restore the stack properly if it failed.
(gs_setpd.ps)
	- 0 identmatrix didn't cause an error.  (gs_init.ps)
	- Devices expecting array-valued parameters didn't accept packed
arrays.  (iparam.c)

Starts to de-implement support for special handling of the stacks on
machines with 16:16 addressing.  Currently this only happens if DPNEXT is
defined.  (istack.h)

Brings multiple contexts closer to working.  The interpreter can now run
some very simple test cases.  (int.mak, icontext.h, igstate.h, interp.h,
istruct.h, icontext.c, interp.c, zcontext.c, zgstate.c)

Adds support for FunctionType 0 Functions.  (ifunc.h, iref.h, store.h,
zfunc.c, zfunc0.c)

Updates a few remaining pseudo-operators in gs_init.ps to take advantage of
automatic operand and dictionary stack restoration: eexec, identmatrix,
pathbbox.  Not updated yet: filter.  (gs_init.ps)

</pre><h3><a name="V5.06_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Separation color spaces weren't supported.  (gs_pdf.ps,
pdf_draw.ps)

</pre><h3><a name="V5.06_Library"></a>Library</h3><pre>

Fixes bugs:
	- The size argument to gs_free was wrong in an out-of-memory case.
(This was irrelevant, since gs_free only uses the size argument for
error-checking during debugging.)  (gdevprn.c)
	- When freeing a block on the C heap, if -Z@ was set, the block's
header wasn't filled with the sentinel pattern.  (Only relevant when
debugging.)  (gsmemory.c)
	- The C heap allocator didn't fix up pointers properly when freeing
a block, causing unpredictable memory corruption after a 'resize' call.
(gsmemory.c)
	- Using a show operator inside the procedure of a cshow with a
composite font could cause an invalid access.  (gschar.c)

Adds support for FunctionType 0 Functions.  (gsdsrc.h, gsfunc.h, gsfunc0.h,
gxfunc.h, gsdsrc.c, gsfunc.c, gsfunc0.c)

Moves the GC descriptor for arrays of constant strings to a place where it
is more visible.  (gscie.h, gsstruct.h, gscie.c, gsmemory.c)

</pre>

<hr>

<h2><a name="Version5.05"></a>Version 5.05 (limited) (9/24/97)</h2>

<p>
This fixes a few bugs found in the first few days of testing 5.04.  There
will probably be several more small incremental filesets before the next
public release.

<h3><a name="V5.05_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- The Windows code wouldn't compile with the latest MSVC++, because
Microsoft changed the prototype for fprintf.  (gp_msio.c)

</pre><h3><a name="V5.05_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- A picky compiler complained about some omitted casts.  (gdevpdf.c,
gdevpdft.c)
	- Writing a PDF file with any synthesized fonts could produce
slightly garbled output or possibly even an invalid memory access, because a
string was not terminated.  (gdevpdft.c)
	- When writing a PDF file, the first character of a string could get
placed off the page, because of a matrix bookkeeping error.  (gdevpdft.c)

</pre><h3><a name="V5.05_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- In case of an error, setpagedevice executed a 'stop'
unconditionally, rather than just signalling an error through the error
machinery.  (gs_setpd.ps)

</pre><h3><a name="V5.05_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Files with unknown operators caused errors, even if the BX
operator was used to disable the error report.  (pdf_base.ps)

</pre>

<hr>

<h2><a name="Version5.04"></a>Version 5.04 (limited) (9/21/97)</h2>

<p>
This is a test fileset for an unplanned release that greatly reduces the
size of PDF files produced by the pdfwrite device, and also optionally
produces output compatible with Acrobat 2.x, in order to address problems
reported by NSF in processing these files as part of their FastLane
electronic proposal submission process.  Aside from that, and some localized
bug fixes, it has minimal changes from 5.03.

<h3><a name="V5.04_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- George Cameron's address was listed with a domain of .ukis rather
than .uk.  (devices.txt)
	- The default value of ORIENT1 was given as false rather than true.
(use.txt)
	- The documentation for ps2pdf said one can omit the output file
name, but this is only true on Unix systems.  (ps2pdf.txt)
	- The documentation for ps2pdf didn't make clear that the executable
must be named gs on Microsoft OSs.  (ps2pdf.txt)
	- ht_cache is actually allocated with the first gstate, not on
demand.  (gsstate.c)

Slightly improves the documentation of .type1execchar.  (zchar1.c)

Clarifies the distinction between Ghostscript (PostScript) commands and
shell commands, for the benefit of users brainwashed by Microsoft.
(use.txt)

Improves the usage synopsis in the ps2epsi man page.  (ps2epsi.1)

Adds a reference to Uli Wortmann's H-P drivers.  (new-user.txt)

Improves the documentation of GS_FONTPATH, distinguishing it from GS_LIB and
the search path.  (use.txt)

Notes that on some systems, one must substitute 'installbsd' for 'install'
in the makefile and make other edits.  (install.txt, ansihead.mak,
cc-head.mak, gcc-head.mak)

Notes that ps2epsi is no longer maintained.  (ps2epsi.ps)

Clarifies the availability of support.  (new-user.txt)

</pre><h3><a name="V5.04_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- The uniprint driver was accidentally omitted from the default
Watcom (MS-DOS) and OS/2 configurations.  (watc.mak, os2.mak)
	- The suggested compiler switches for Digital Unix were incorrect.
(make.txt)
	- The cp.cmd script file didn't work in the newest versions of OS/2.
(cp.cmd)
	- The compilation rules for some Windows-specific files didn't
include ccf32.tr in their dependencies, which could cause the compilation to
fail.  (winint.mak)

Removes the lev2min configuration, since we no longer support 16-bit Windows
environments.  (int.mak)

</pre><h3><a name="V5.04_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- ps2epsi.bat always appended to the output file, rather than
writing over it.  (There are probably other bugs in this script file.)
(ps2epsi.bat)
	- The output of pdf2ps didn't execute properly on some printers,
especially Level 1 printers.  (gs_pdf.ps)

Makes ps2pdf do an initial 'save', which causes fonts to be retained better
across pages.  (ps2pdf, ps2pdf.bat)

Adds an option to pcharstr.ps to produce C-like rather than PostScript-like
output.  (pcharstr.ps)

</pre><h3><a name="V5.04_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The LaserJet III and higher printers weren't able to print in the
narrow strip between 1/6" and 1/4" from the left edge of the page.
(gdevdjet.c)
	- The PCL XL drivers produced incorrect output which often caused a
PCL XL NoCurrentFont error at the beginning of the second page.  (gdevpx.c)
	- The GC descriptors for the pswrite device and for PS/PDF devices
were incorrect, causing the GC to smash memory.  (gdevpsdf.h, gdevps.c)
	- The pdfwrite device didn't have a GC descriptor at all.  ******
DISABLED because the device allocates all its temporary structures directly
on the C heap. ****** (gdevpdf.c)
	- When the PDF writer wrote out the Dest key in an action
dictionary, it always used a page object instead of a page number, even if
the page was in another file or didn't exist; it now always uses a page
number.  (gdevpdfm.c)
	- The PDF writer gave an error if a file redefined any of the 14
known fonts.  (gs_pdfwr.ps)
	- The PDF writer didn't handle copy_mono with a non-zero sourcex.
(This probably had no effect in practice.)  (gdevpdfi.c)

Splits off gdevpdfd.c (driver drawing procedures) from gdevpdf.c, since the
file was getting too large.  (gdevpdfx.h, gdevpdf.c, gdevpdfd.c)

Adds recognition of the CompressPages, CompatibilityLevel, and
UseFlateCompression device (distiller) parameters to the PDF writer.  If
CompressPages is true (default), CompatibilityLevel is 1.2 (default), and
UseFlateCompression is true (default), page contents will be compressed with
Flate ("zip") compression; otherwise, they will not be compressed.

Restructures the PDF writer to produce much smaller and faster PDF files, by
restructuring its handling of text to defer all resources to the end of the
file, eliminate duplicate Font resources, turn characters into Type 3 fonts
rather than Image XObjects, use more efficient text positioning commands,
and optionally (but by default) Flate-compress the contents streams.  Also
removes some unnecessary spaces in the output.  (gdevpdfx.h, gdevpdf.c,
gdevpdfd.c, gdevpdfi.c, gdevpdfm.c, gdevpdft.c)

Improves the PDF writer so that it no longer converts stroke operations with
non-uniform CTMs to fills, and doesn't bother to stroke empty paths at all.
(gdevpdfd.c)

Speeds up the "alternate" X devices substantially.  (gdevxalt.c)

</pre><h3><a name="V5.04_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- Filling a string with a Pattern caused a crash with the PDF
writer.  (gs_pdfwr.ps)
	- Converting a file with no marks at all to PDF produced invalid
output.  (gdevpdf.c)
	- .endpage, which is called at the end of every page, sometimes left
2 extra values on the stack.  (gs_setpd.ps)
	- A definefont with a Type 1 font lacking a .notdef character didn't
cause an invalidfont error.  (bfont.h, zfont1.c, zfont2.c)
	- On anti-aliased devices, characters from Type 1 fonts with an
incorrect or missing FontBBox came out a factor of 2 or 4 too small if the
character was small enough to cache.  (zchar1.c)
	- If a file redefined certain operators, loading Type 1 fonts could
fail.  This problem was fixed in an earlier release, and somehow the fix got
undone.  (gs_type1.ps)
	- cshow didn't set the correct current font when running the
procedure, and didn't restore it properly afterwards.  (zchar.c, zchar2.c)
	- With certain compilers, the interpreter loop caused unaligned
memory accesses on DEC Alpha systems running Windows NT.  (iref.h)

Adds freelist validation to the memory checker.  (ilocate.c)

Changes the debugging switch for bypassing the garbage collector from
compile-time to run-time.  (igc.c)

Adds the real operators for view clipping (but they don't do anything yet,
because view clipping isn't implemented at the library level).  (zdps.c,
zvmem.c)

Completes the implementation of defineusername.  (zdps.c)

Adds an implementation of wtranslation, by simply reading a device parameter
of the same name.  (gs_dps.ps)

</pre><h3><a name="V5.04_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Lab color spaces weren't implemented, and gave an error.
(gs_pdf.ps)
	- Images only worked with built-in color spaces, not color space
resources.  (pdf_draw.ps)
	- Embedded font subsets were treated as undefined.  (pdf_font.ps)

</pre><h3><a name="V5.04_Library"></a>Library</h3><pre>

Fixes bugs:
	- strokepath sometimes clipped the path to the current clipping
region, which it should never do.  (gxstroke.c)
	- The initial X/Y position for Type 2 charstrings (CFFs) sometimes
was set incorrectly.  (gstype2.c)
	- Memory management for dash patterns was still incorrect (despite
the fix in 4.36), possibly causing snarled freelists and invalid memory
references.  (gsline.c, gsstate.c)
	- The saved gstate of a Pattern instance was freed properly when the
instance was freed by reference counting as a result of setting the color or
color space, but not when the instance was freed by reference counting
anywhere else.  (gspcolor.c)
	- A test for whether to use a slower form of oversampling was
incorrect.  (Probably only a performance bug.)  (gschar.c)
	- cshow didn't set the correct current font when running the
procedure, and didn't restore it properly afterwards.  (gsfont.h, gschar.c,
gsfont.c)

Improves allocator validity checking when DEBUG is set.  (gsalloc.c)

Adds a couple of missing FontType values.  (gxftype.h)

Changes the default conversions between CMYK and RGB colors back to the
Adobe rules documented in the Red Book, to reduce output differences from
Adobe implementations.  (gxdcconv.c)

Adds a graphics state element for view clipping, under an #ifdef DPNEXT, and
implementations of the view clipping operators (but not the logic for doing
the actual clipping).  (gsstate.h, gzstate.h, gsstate.c)

Removes the redundant clip_rule variable from the graphics state (which
wasn't used for anything).  (gzstate.h, gspath.c)

</pre>

<hr>

<h2><a name="Version5.03"></a>Version 5.03 (8/8/97)</h2>

<p>
The only reason for this release is to fix two serious bugs introduced
between 5.01 and 5.02.  We fixed a few other very localized and low-risk
bugs at the same time.

<h3><a name="V5.03_Documentation"></a>Documentation</h3><pre>

Removes the "(if relevant)" from the bug reporting form, since about 25% of
the forms are submitted without a URL or any other data.  (bug-form.txt)

Adds a discussion of single-use procedures to the style guide.
(c-style.txt)

Updates the information about obtaining Ghostscript on physical media.
(new-user.txt)

Updates the information about ps_view.  (new-user.txt)

</pre><h3><a name="V5.03_Procedures"></a>Procedures</h3><pre>

Adds the uniprint driver to all platforms.  (*.mak)

Changes the contents of the pc.tar.gz archives:
	- Adds *.upp.
	- Removes *.res.
	- Removes cp.bat, font2c.bat, mv.bat, rm.bat, wmakebat.bat,
	  cp.cmd, mv.cmd and rm.cmd, and gv-vms.hlp.

Removes an obsolete script file.  (tar_mv)

</pre><h3><a name="V5.03_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The uniprint driver didn't handle an increase in media height
correctly.  (gdevupd.c)

</pre><h3><a name="V5.03_Platforms"></a>Platforms</h3><pre>

Fixes bugs:
	- Printing to printers other than LPT1 under MS Windows no longer
worked.  (bug introduced in 5.02)  (gp_mswin.c)
	- Drag-and-drop didn't work under Windows NT (or other 32-bit
Windows environments).  (dwtext.cpp)
	- Sequent systems needed an additional system header file.
(time_.h)

</pre><h3><a name="V5.03_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- The substitutions Myriad =&gt; Times and Minion =&gt; Helvetica were
incorrect; they should be the other way around.  (gs_fonts.ps)
	- MyriadPkg wasn't recognized as a condensed font.  (gs_fonts.ps)
	- Univers wasn't recognized as mapping to Helvetica.  (gs_fonts.ps)

</pre><h3><a name="V5.03_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- A line of debugging code, printing the sections of 3 regions of
TrueType fonts being loaded, was accidentally left in.  (gs_ttf.ps)
	- TrueType fonts whose pre-glyf data had odd length were broken
(typically gave a rangecheck error), because of the fix to treat the odd
byte of individual sfnts strings as padding per Adobe documentation.  (bug
introduced in 5.02) (gs_ttf.ps)

</pre><h3><a name="V5.03_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- If a real-number token in a CFF had an even number of nibbles, a
unmatchedmark error would occur.  (gs_cff.ps)
	- If the strings Index in a CFF included an empty string, a
rangecheck error would occur.  (gs_cff.ps)
	- CFFs with non-standard Encodings that included standard strings
would get a typecheck error.  (gs_cff.ps)

</pre><h3><a name="V5.03_Library"></a>Library</h3><pre>

Fixes bugs:
	- Using %d in an OutputFile name didn't substitute the page number.
(bug introduced in 5.02)  (gsdevice.c)
	- In Type 2 CharStrings, if a hintmask occurred at the beginning, it
wasn't recognized as also incorporating the function of vstemhm.
(gstype2.c)
	- The data bytes for hintmask and cntrmask weren't printed for
debugging.  (gstype2.c)

</pre>

<hr>

<h2><a name="Version5.02"></a>Version 5.02 (7/28/97)</h2>

<p>
Because of an ISP failure that delayed the 5.0 announcement for 12 days, the
5.01 release only responded to a few days of bug reports; 5.02 fixes some
problems that should have been fixed in 5.01, as well as a large number of
obscure problems uncovered by Genoa testing.

<h3><a name="V5.02_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- The documentation for building on the Intergraph Clipper was out
of date.  (make.txt)
	- ESC was claimed to be a self-delimiting character.  (gs_init.ps)
	- Removes the documentation claiming that ^D and ^Z are
self-delimiting.  (language.txt)
	- Document that -dSUBSTFONT doesn't create a font with the requested
font name.  (use.txt)
	- Ghostscript was defined as compatible with PDF 1.1 rather than PDF
1.2.  (language.txt)
	- The description of gcc problems on Alpha didn't make it clear that
the use of gcc was optional, not required.  (make.txt)
	- The description of how to use GNU make on VMS systems was
inaccurate.  (make.txt)

Improves the documentation for building on H-P RISC systems.  (make.txt)

Corrects the discussion of Cygnus' licensing terms for the cygwin32
environment.  (make.txt)

Removes the apology for the poor quality of Ghostscript's TrueType
rasterizer, since the quality is now quite good.  (fonts.txt)

Documents the fact that one must use # rather than = with Watcom C.
(use.txt)

Documents the updates and additions to the uniprint driver.  (devices.txt)

Adds some material to Aladdin's C style guide.  (c-style.txt)

Documents the fact that using gmake requires VMS 6.2 or later on Alphas and
7.1 (perhaps 7.0) or later on VAXen.  (make.txt)

Adds an example EPS file.  (psfiles.txt)

Adds some information about compiling and linking under OS/2.  (make.txt)

Expands the description of XLIBDIR and XLIBDIRS.  (*head.mak)

Adds a new pointer to information on using a Kanji font with Ghostscript.
(new-user.txt)

Documents the use of /Resource/&lt;category&gt;/&lt;resource&gt; as the default place
where resources are sought.  (use.txt)

Updates the documentation on building with MSVC++ to reflect the makefile
changes.  (make.txt)

</pre><h3><a name="V5.02_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- In openvms.mak, several ifdef tests were wrong.  (openvms.mak)
	- One CP command was slightly inconsistent with the others.
(zlib.mak)
	- If libz and libpng were both shared, libz was linked first,
resulting in some undefined references.  (libpng.mak)
	- The VMS makefile didn't interact properly with VMS's version
numbering facility.  (copy_one.com)

Updates the VMS DCL script one last time, to handle libpng version 96.
(vms.mak)

Restructures the MSVC++ makefiles to allow building the graphics library
without the PostScript interpreter.  (bcwin32.mak, msvc4.mak[deleted],
msvc5.mak[deleted], msvc32.mak, msvccom.mak, watcw32.mak,
wincom.mak[deleted], winint.mak, winlib.mak)

Adds a makefile to create a library-only demo program under MSVC++, like the
ones for Unix/gcc and MS-DOS/Watcom.  (msvclib.mak)

Adds an example EPS file.  (ridt91.eps, unix-end.mak)

Removes support for libpng release 0.88, which is now quite obsolete.
(libpng.mak)

</pre><h3><a name="V5.02_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- ps2pdf.bat, unlike ps2pdf, didn't accept options.  (ps2pdf.bat)
	- echogs used 'const' in one place, which wasn't accepted by some
very old compilers.  (echogs.c)
	- pdf2ps output Orientation, which it shouldn't.  (pdf_main.ps)

Makes the usage message from ps2pdf.bat include the options, like ps2pdf.
(ps2pdf.bat)

Changes the printpath utility so that its output is legal PostScript code.
(ppath.ps)

Makes pdf2dsc add DSC comments for the bounding box (if a CropBox is
available in the PDF file) and the orientation.  (pdf2dsc.ps)

</pre><h3><a name="V5.02_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- The get_bits operation wasn't implemented for the vgalib driver.
(gdevvglb.c)
	- The dnj650c driver output an extra % near the end of the file.
(gdevcdj.c)
	- The definition of pprintd2 didn't have a line break before the
procedure name, confusing ansi2knr.  (gdevpstr.c)
	- EPS files produced invalid PDF output.  (gdevpdf.c)
	- "Vector" output devices didn't recognize %d in output file names,
or - for output to stdout.  (gdevprn.h, gxdevice.h, gdevprn.c, gdevvec.c,
gsdevice.c)
	- With the pdfwrite driver, restore or grestore would cause a
rangecheck error in .installpagedevice if a setpagedevice had been executed.
(gdevpdfp.c)
	- The pdfwrite driver produced garbage output for text rotated by
angles that were only infinitesimally different from multiples of 90
degrees.  (gdevpdft.c)
	- The pnm[raw] driver didn't handle anti-aliasing properly.
(gdevpbm.c)
	- The PDF writer didn't scale the parameters for [a][width]show
correctly.  (gs_pdfwr.ps, gdevpdft.c)

Fixes some minor compilation warnings not affecting code functionality.
(gdevbbox.c, gdevpdfm.c, gshtscr.c, gsmemory.c, gxccman.c, gxfill.c,
gximage0.c)

Fixes some bugs in the uniprint driver and adds some more printer models.
(gdevupd.c, bjc610a*.upp, bjc610b*.upp, necp2x6.upp, stc1520h.upp)

Makes a small change for clean compilation on BeOS.  (gdevcdj.c)

Updates the PNG driver to use updated API calls for allocating/initializing
and freeing the PNG structures.  (gdevpng.c)

</pre><h3><a name="V5.02_Platforms"></a>Platforms</h3><pre>

Refactors the MS Windows code to allow building the library without the
interpreter.  (gs_msio.c, gs_mslib.c, gp_mswin.c)

</pre><h3><a name="V5.02_Fonts"></a>Fonts</h3><pre>

Fixes bugs:
	- definefont was executed twice on TrueType fonts.  (No bad
consequences, just unnecessary work.)  (gs_ttf.ps)

</pre><h3><a name="V5.02_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- The fix for the 'stopped' around run_string_* in 5.01 was made
incorrectly.  (gs_init.ps)
	- Many operators that expect a matrix operand didn't accept packed
arrays.  (iutil.c)
	- The default CRD didn't have an explicit BlackPoint, which some
Genoa tests require.  (gs_lev2.ps)
	- A stack protection fix caused setscreen and setcolorscreen with
dictionary operands to give a typecheck.  (gs_dps2.ps)
	- Executing a string didn't handle tail recursion properly if the
last token was followed by a single whitespace character.  (interp.c)
	- Clearing the error indication didn't set errorname to null.
(gs_init.ps)
	- Some unexpected items appeared on the execution stack, confusing
some of the Genoa tests.  (gs_init.ps, istack.h, istack.c, zcontrol.c)
	- The dummy definitions for setucacheparams/ucachestatus didn't look
enough like the real ones.  (gs_dps2.ps)
	- Insideness tests didn't work, because the hit detection device
width and height weren't set up.  (zupath.c)
	- defineuserobject didn't use the same algorithm for growing the
array as Adobe interpreters.  (gs_dps2.ps)
	- eq and ne didn't work correctly on save objects.  (iutil.c)
	- findfont used =string internally, interfering with PostScript
programs that also used it.  (gs_fonts.ps)
	- cshow didn't set up scaled versions of base fonts as the current
font.  (zchar2.c)
	- defineresource didn't make the resource value read-only.
(gs_res.ps)
	- If inustroke got an error, it could return without an error
indication and without changing the stack.  (zupath.c)
	- The arrays returned by different invocations of currentcolorspace
with the same device color space weren't guaranteed to be eq.  (gs_lev2.ps)
	- Out-of-range integers followed by a '.' were converted to names
rather than reals.  (iscan.c, iscannum.c)
	- resourceforall caused an invalidaccess error if currentglobal was
true but the procedure, template, or scratch string was in local VM.
(gs_res.ps)
	- In many places, integer values were converted to floats rather
than doubles, losing precision.  (ichar.h, icharout.h, ifont.h, iutil.h,
idparam.c, iparam.c, iutil.c, zchar.c, zchar1.c, zchar42.c, zcharout.c,
zcie.c, zcolor.c, zcolor1.c, zcolor2.c, zcontrol.c, zcsindex.c, zcssepr.c,
zdpnext.c, zdps1.c, zfont.c, zfont2.c, zgstate.c, zhsb.c, zht.c, zmath.c,
zmatrix.c, zmedia2.c, zpath.c, zpath1.c, zupath.c)
	- The TransformPQR procedure in the default CRD didn't pop its
auxiliary operands from the stack.  (gs_lev2.ps)
	- Because of an incorrect stack depth check, setcolorrendering
sometimes produced a stackunderflow.  (zcrd.c)
	- sethalftone caused an invalidaccess error if the HalfTone type was
not 5, the dictionary was in local VM, and the current VM was global.
(gs_dps2.ps)
	- writeobject and printobject caused an invalidaccess error if the
object being written was in local VM and the current VM was global.
(gs_btokn.ps)
	- ustrokepath appended the strokepath segments to the current path,
rather than replacing the path.  (zupath.c)
	- restore incorrectly purged from the character cache any characters
in a font being freed, even if the font had a UID.  (zfont.c)
	- The definition of zimage_opaque_setup confused ansi2knr.
(zimage.c)
	- Type 42 fonts that included the padding byte in each sfnts string
didn't work if sfnts had more than one string.  (zfont42.c)
	- Doing a garbage collection at the same time as handling a
stackoverflow failed to update the object that needed re-execution, causing
the interpreter to execute random data.  (interp.c)
	- %stdout and %stderr weren't flushed if they were closed
explicitly.  (ziodev.c)

For greater Adobe compatibility:
	- Changes setdash to limit dash patterns to 11 elements.  (This is
enforced at the PostScript level: the graphics library doesn't have a
limit.)  (gs_init.ps)
	- Changes ^D and ^Z so they are not self-delimiting characters, and
changes ^K so it is not a whitespace character.  (gs_init.ps, iscan.c,
scantab.c)
	- Makes = cause an error on non-read-accessible objects rather than
printing them as --nostringval--.  (gs_init.ps)
	- When -dSUBSTFONT= is used, makes findfont return the actual named
font, rather than a copy with the FontName changed to the requested one.
(gs_fonts.ps)
	- CFF fonts with a non-default FontMatrix caused an error.
(gs_cff.ps)

Fixes some minor compilation warnings not affecting code functionality.
(iparam.c, zfcmap.c)

Strengthens the test of o-stack validity in the main interpreter loop in
debug mode.  (interp.c)

Changes the filling rule for Type 1 fonts from winding-number to even-odd.
This affects no properly designed fonts, and seems to match Adobe
interpreters better.  (zchar1.c)

Implements non-standard Encodings in CFF fonts.  (gs_cff.ps)

Changes the default halftone screen for 600 dpi printers from 85 to 106 lpi,
which reduces the number of halftone levels from 50 to 32 but produces
visually better output.  (gs_init.ps)

</pre><h3><a name="V5.02_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- Pattern color spaces weren't supported.  (gs_pdf.ps, pdf_draw.ps)

Causes references to undefined named Destinations to be ignored rather than
giving an error.  (pdf_main.ps)

</pre><h3><a name="V5.02_Library"></a>Library</h3><pre>

Fixes bugs:
	- A 'const' was omitted in a declaration, upsetting several
compilers.  (gxclread.c)
	- arct and arcto gave an error for negative radii.  (gspath1.c)
	- The collinearity check for arct[o] could cause some arcs to be
rendered as single points.  (gspath1.c)
	- Uncolored patterns sometimes came out blank, because the color
wasn't set before calling the PaintProc.  (gspcolor.c)
	- The phase for masking colored patterns was wrong, producing
incorrect output.  (gspcolor.c)
	- reversepath always appended the current position to the new path,
rather than only doing so if the path just consisted of a single moveto.
(gxpath2.c)
	- cshow didn't restore the current font properly.  (gschar.h,
gschar.c)
	- The check for whether characters can be cached didn't consider
PaintType values other than 0 and 2.  (gschar.c)
	- The bounding box device didn't handle PageCount properly.
(gdevbbox.c)
	- Uncached fonts with a next_char procedure didn't set the glyph
properly.  (gschar.c)
	- Parallelograms with ax &lt; bx, ay &lt; by, and the 'a' edge to the
right of the 'b' edge weren't filled, causing pixels to be omitted from some
highly skewed images.  (gdevddrw.c)
	- 12-bit-per-pixel images in portrait orientation filled each scan
line with the value of the last pixel -- i.e., didn't work.  (gximage4.c)
	- The path representation of a clipping path could include some
inappropriate, leftover path segments.  (gxcpath.c)
	- The angle for the miter check was computed in device space rather
than in user space.  (gxstroke.c)
	- TrueType fonts were lumpy, and the accents of accented characters
were placed incorrectly.  (gstype42.c)
	- Some macros used for generating device prototypes didn't
parenthesize all uses of their parameters, causing possible errors if the
parameters were expressions rather than numeric constants.  (gdevprn.h)
	- When banding, strip halftones (typically produced by
AccurateScreens) sometimes didn't have the correct phase.  (gxbitmap.h,
gxclread.c)
	- A minor change was required for correct compilation with Microsoft
VC++.  (memory_.h)
	- Under certain conditions, character shapes could get wildly
distorted by hints.  (bug introduced in 5.01) (gxhint3.c)

For greater Adobe compatibility:
	- Changes reversepath so that the implicit line created by closepath
is not considered a "segment".  (gxpath2.c)

Fixes some minor compilation warnings not affecting code functionality.
(gstype1.c)

Changes the font and scaled-font caches so that if the font has a UID
(UniqueID or XUID), the UID and FontType are both considered part of the
key, and we don't cache fonts with non-zero PaintType.  (The Red Book says
that changing anything except the Encoding should also change or remove the
UID, but some files don't do this.  The current fix is probably not
sufficient, but it is a step in the right direction.)  (gxfcache.h,
gxccache.c, gxccman.c)

Splits off the definitions of font_type and fbit_type into a separate file,
since gxfcache.h now needs font_type.  (gxfcache.h, gxfont.h, gxftype.h)

Makes the Flex feature in Type 1 fonts conform to the published
specification, rather than always producing curves.  The comment in the code
(and in the NEWS entry for release 2.6) says that this breaks some very old
Adobe fonts: if this turns out to be a problem, we'll figure out a test that
will do the right thing for these fonts.  (gstype1.c)

Provides 'double' versions of some API functions to accommodate the
increased use of doubles in the interpreter.  (gschar.h, gschar.c)

Adds a compile-time option to force the use of strip halftones, for
debugging.  (gshtscr.c)

Changes the hint snapping algorithm in the Type 1 rasterizer so that it will
only change a stem width by a maximum of 1/2 pixel rather than 1 pixel.
This appears to help with dropouts at certain sizes.  (gxhint2.c)

Makes a few changes for clean compilation on BeOS.  (stdpre.h, stat_.h,
gxcpath.c)

</pre>

<hr>

<h2><a name="Version5.01"></a>Version 5.01 (6/22/97)</h2>

<p>
This fixes a few bugs reported in the 5.0 release.  This will be a
commercially supported release.

<h3><a name="V5.01_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- README referred to an obsolete file devarch.txt.  (README)
	- The comment on flip4x12 had a typo.  (gsflip.c)
	- The algorithm comments for adjusted_y_spans_pixel weren't precise
enough.  (gxfill.c)
	- The usage message printed by the ps2pdf script didn't indicate
that one can now insert options before the input file name.  (ps2pdf)
	- The file searching documentation didn't indicate that paths
beginning with ./ or ../ are considered "explicit" and not subject to
searching.  (use.txt)
	- The description of SEARCH_HERE_FIRST in the per-platform makefiles
indicated that it only applied to initialization files, not to files
specified on the command line as well.  (*.mak)
	- There were still some references to 16-bit implementations.
(install.txt)

Clarifies that -dNODISPLAY also suppresses output to other devices.
(use.txt)

Adds the e-mail address for reporting problems to the bug report form, and
also a space to report makefile changes.  (bug-form.txt)

Adds a note under -g indicating that it fixes the media size.  (use.txt)

Adds an explanation of why Ghostscript can't use the system libraries for
the JPEG package.  (make.txt)

Notes that ps2ai doesn't work properly with Adobe's Helvetica-Oblique font,
and other fonts whose original FontMatrix involves skewing or rotation.
(psfiles.txt)

Updates the uniprint documentation slightly.  (devices.txt)

Notes that the new lj5 drivers do not work with the LJ5L.  (devs.mak)

Modifies the Aladdin Free Public License slightly to make it clearer that
the exception for freely redistributable CD-ROMs only applies if the CD-ROM
is being distributed by itself, not with anything else commercial.  (This
has always been the case, but the previous wording wasn't clear enough.)
(PUBLIC)

Notes that gcc with -O still has code generation problems on H-P RISC
machines.  (make.txt)

Adds a pointer to Martin Lottermoser's hpdj driver.  (new-user.txt)

Enhances and reorganizes the documentation for building Ghostscript, in
response to user feedback.  (make.txt, install.txt)

Adds a description of the EPSF recognition feature.  (language.txt)

</pre><h3><a name="V5.01_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- string__h was misspelled string_h in one place.  (lib.mak)
	- gs_dps.ps wasn't installed by "make install".  (unix-end.mak)
	- ccgs (used with non-ANSI C compilers) didn't do the right thing
with -DPNG_USE_CONST.  (ccgs)

Adds support for version 96 of libpng, and updates all the makefiles to
reference it.  (libpng.mak, *.mak)

Updates the MSVC makefiles to get rid of some warning messages and provide a
way to specify a library path for the final link.  (msvc*.mak)

</pre><h3><a name="V5.01_Utilities"></a>Utilities</h3><pre>

Fixes bugs:
	- The usage message for the gslp utility had a minor typo.
(gslp.ps)
	- The "line printer" utility didn't expand tabs properly when
producing PostScript output.  (gslp.ps)
	- The gslp utility didn't automatically include the date.  (gslp)
	- The line printer scripts didn't pass the script name to the
utility program, so the usage message didn't use the correct name.  (gsbj*,
gsdj*, gslj*, gslp*, lp*)

Modifies the gslp utility so that invoking it with no arguments prints the
usage message.  (gslp.ps)

Adds the ability to specify the number of bits per component to the
CMYK-viewing utility.  (viewcmyk.ps)

Changes the ps2pdf script so that on Windows NT, as on Unix, it allows
omitting the output file name, automatically replacing the extension of the
input file with .pdf.  (ps2pdf.bat)

</pre><h3><a name="V5.01_Drivers"></a>Drivers</h3><pre>

Fixes bugs:
	- Some compilers didn't accept a #define with the macro name on the
next line.  (gdevpx.c)
	- The procedure dash_pattern_eq was defined in two places.
(gdevpdf.c)
	- The uniprint driver sometimes dropped some output or got confused,
because of a misunderstanding about how to update device procedure vectors
properly.  (gdevupd.c)
	- The PostScript and EPS writers produced binary output for images,
which generally can't be sent to PostScript printers.  (gdevpsdf.h,
gdevpdf.c, gdevps.c)
	- The EPS writer put a %%EOF at the end of the file, which might
cause problems for some spoolers if the file is embedded in another.
(gdevps.c)

Changes the implementation of printer drivers so that they flush the output
stream after each page.  We aren't absolutely sure that this is a good idea,
but it prevents certain anomalous behavior where the last page isn't ejected
properly.  (gdevprn.c)

Implements a long-delayed update to the mgr drivers, to restore the color
mapping to an older one.  (gdevmgr.h, gdevmgr.c)

Updates the uniprint driver with a number of changes from its author.
(gdevupd.c)

</pre><h3><a name="V5.01_Platforms"></a>Platforms</h3><pre>

Adds the JPEG, Postscript, and PCL XL drivers, which are included on all
other platforms, to the MS Windows platforms.  (bcwin32.mak, msvc4.mak,
msvc5.mak, watcw32.mak)

</pre><h3><a name="V5.01_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- composefont defined the resource with the font name and font
directory interchanged.  (gs_cmap.ps)
	- With dFIXEDMEDIA, documents requesting other sizes caused an error
instead of clipping the page.  (gs_init.ps)
	- PageSize Policy = 7 wasn't implemented.  (However, the current
implementation is wrong.)  (gs_setpd.ps, zmedia2.c)
	- FontType resource 42 wasn't defined even if Type 42 fonts were
supported; similarly for FontType 9, 10, and 11 for CIDFonts.  (gs_cidfn.ps,
gs_res.ps)
	- The error handling machinery would break if the name /errordict
was redefined.  (gs_init.ps)
	- Level 1 systems got an /undefined in .doneshowpage.  (zdevice.c,
zdevice2.c)
	- Because of an initialization order problem, copy didn't work on
gstates.  (zgeneric.c)

Adds a naive implementation of findcolorrendering.  (gs_lev2.ps, gs_res.ps)

Removes the 'stopped' around run_string[_begin/continue/end] so that, as in
4.03, errors print a hex dump and exit with a non-zero code instead of
printing a readable message and continuing.  (We aren't sure that this
change didn't undo the fix in 5.0 regarding calling startjob from
run_string.)  (gs_init.ps)

</pre><h3><a name="V5.01_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>

Fixes bugs:
	- stdin redirection failed for PDF files even if the new stdin was
seekable.  This was fixed in 4.02, but the fix stopped working with the
introduction of .runexec.  (pdf_main.ps)

Makes the cross-reference reader accept a startxref value that points at the
EOL before the xref line.  The Adobe documentation doesn't allow this, but
some real files are this way.  (pdf_main.ps)

</pre><h3><a name="V5.01_Library"></a>Library</h3><pre>

Fixes bugs:
	- The bounding box of a completely empty path was reported as
garbage.  (gxpath2.c)
	- Stroking a path with more than one segment didn't produce correct
output when anti-aliasing was used.  (gspaint.c)
	- The alpha-buffer device returned an incorrect clipping box,
causing output to be discarded.  (gdevabuf.c)
	- gx_forward_get_clipping_box passed the wrong device to the target
procedure, producing incorrect results.  (gdevnfwd.c)
	- The sin/cos procedure did some unnecessary computations
(performance bug only).  (gsmisc.c)
	- The procedure for adjusting the ends of curves to match the
tangents did some unnecessary computations (performance bug only).
(gxpcopy.c)
	- RAM-based banding always gave an invalidfileaccess error, due to a
typo in memfile_fopen.  (gxclmem.c)
	- The algorithms for deciding whether a line is thin still weren't
correct.  (gxstroke.c)
	- The fill adjustment values for the any-part-of-pixel case (adjust
= 0.5) were (0.5-epsilon, 0.5+epsilon), which colored inappropriate
additional pixels if the higher coordinate was integral.  With considerable
trepidation, we have changed this to (0.5-epsilon,0.5), which does the right
thing in every case we can think of.  (gxfill.c)
	- When banding, paths were clipped to only 0.5 pixel outside their
bounding box, which may be slightly too conservative; 1 pixel is safer.
(gxclpath.c)
	- The algorithm for testing whether an adjusted Y value spanned a
pixel center was incorrect, causing some pixels to get colored incorrectly.
(gxfill.c)
	- 24-bit devices could cause a memory fault, by accessing a pointer
just beyond the end of the line pointer array.  (gdevm24.c)
	- Astonishingly enough, the determination of which hints were
applicable to a given segment of a Type 1 character was wrong in several
different places.  Fixing this in a way that correctly handled all allowed
permutations of the coordinate system was not simple.  (gxfont1.h,
gxhint1.c, gxhint3.c)
	- The debugging printout macros didn't include the syntactic hack to
prevent an 'else' from begin assigned to the wrong 'if'.  (gdebug.h)
	- The bbox device was accidentally limited to 130 x 130 pixels (not
130" x 130").  (bug introduced in 5.0) (gdevbbox.c)
	- The bbox device didn't recognize PageBoundingBox in put_params,
causing a possible /undefined error on [g]restore.  (gdevbbox.c)
	- setlinewidth didn't take the absolute value of its operand.
(zgstate.c)
	- Some code formatting was slightly off.  (gximage5.c)
	- Some extra pixels were written for Interpolated images, but they
were immediately overwritten, so the output was correct.  (gximage5.c)

Changes the data flipping API from a macro to a procedure, adds a return
value, and makes the individual flipping procedures private.  (gsflip.h,
gsflip.c)

Adds (under an #ifdef FUTURE) code to allow passing multi-plane images
through the band list.  (gxclpath.h, gxclimag.c, gxclread.c)

Adds (under an #ifdef FUTURE) code to allow passing interpolated images
through the band list.  NOTE: interpolated images will appear slightly
different than without banding, because the part of the image intersecting
each band will be scaled slightly differently in the (device) Y direction.
(gxclpath.h, gxclimag.c, gxclread.c, gximage.c)

Changes Type 1 hinting so that when it moves points on a curve, it does so
by properly scaling the curve in the given direction.  (gxhint3.c)

</pre>

<hr>

<h2><a name="Version5.0"></a>Version 5.0 (6/6/97)</h2>

<p>
This is the first public release since 4.03.

<h3><a name="V5.0_Documentation"></a>Documentation</h3><pre>

Fixes bugs:
	- Fontmap.Sol was incorrectly referred to as Fontmap.Solaris.
(use.txt)
	- There was still a reference to pstoppm in the documentation.
(psfiles.txt)
	- The JPEG DOS source site information was out of date.  (jpeg.mak)
	- The list of devices included in the distributed Unix makefiles was
out of date.  (make.txt)
	- The MCU size limitation on the DCT filters was documented
incorrectly.  (current.txt)
	- The URL for the uniprint driver home page was incorrect.
(devices.txt)
	- The makefiles referred to sfilefd.c, which is now named sfxfd.c.
(gs.mak, *.mak)

Adds a VMS help file.  (gs-vms.hlp)

Removes documentation for Digital Unix (OSF/1) 1.2 and 1.3, which are now
long obsolete, and updates the documentation for current versions.
(make.txt)

Notes that there may be a problem with libpng version 0.95.  (libpng.mak)

Adds some specific documentation for the JPEG drivers.  (devices.txt)

Adds a suggestion that people compiling Ghostscript check the values of
JVERSION and PVERSION.  (make.txt)

Removes the requirement for setting the LIB environment variable when
compiling with MSVC.  (make.txt)

</pre><h3><a name="V5.0_Procedures"></a>Procedures</h3><pre>

Fixes bugs:
	- There were a number of small errors in the new OpenVMS makefile.
(openvms.mak)
	- The MSVC makefiles omitted a necessary switch to work around some
"unspecified Pentium bugs".  (msvccom.mak)
	- The Borland makefile wasn't even close to working; fixing it
required moving the compilation rule for genarch.exe into the
compiler-specific makefiles.  (bcwin32.mak, msvccom.mak, watcw32.mak,
wincom.mak)
	- There were some (harmless) undefined macro references in the MSVC
makefile.  (msvccom.mak)

Makes it unnecessary to set the LIB environment variable for MSVC.
(msvc4.mak, msvc5.mak, wincom.mak)

Adds a note on compiling with the cygwin32 gcc compiler for Windows NT.
(make.txt)

Updates vms.mak yet again, hopefully for the last time.  (vms.mak)

Moves the CGM, JPEG, and MIFF file formats from DEVICE_DEVS8 to
DEVICE_DEVS14 to shorten command lines; adds pcxcmyk to all platforms that
include PCX format at all; adds jpeggray to all platforms that include jpeg.
(devs.mak, *.mak)

Adds -DPNG_USE_CONST for compiling libpng, to get rid of compiler warning
messages.  (gs.mak)

Removes obsolete makefiles from the fileset.  (tccommon.mak, tctail.mak)

</pre><h3><a name="V5.0_Interpreter"></a>Interpreter</h3><pre>

Fixes bugs:
	- restore was broken if -dNOBIND was invoked.  This fix should have
been in the 4.81 fileset, but was left out due to operator error.
(gs_dps1.ps)
	- Some compilers complained about macro argument replacement within
a string literal.  (isave.c)
	-dSAFER didn't allow opening the %stdxxx files, which caused the
combination of -dSAFER and -dNOBIND to cause an infinite error.
(gs_init.ps)
	- If C code used run_string to execute a startjob, an error
occurred.  (gs_init.ps)

</pre><h3><a name="V5.0_Library"></a>Library</h3><pre>

Fixes bugs:
	- Some compilers complained about macro argument replacement within
a string literal.  (gxclbits.c, gdevpdfi.c)
	- At certain resolutions, a 1-pixel line of the wrong color could
appear at one edge of landscape-oriented monobit images.  (This is the 4th
or 5th time we have "fixed" this one infuriatingly fragile piece of code.)
(gxfixed.h, gximage1.c)
	- The optimized code for landscape monobit images overlooked the
possibility of partial images, causing parts of images to be translated and
possibly clipped.  (Yes, it's that same fragile piece of code.)
(gximage1.c)
	- The bounding box device allowed resetting its resolution, which
could cause limitchecks from coordinate overflow.  Our fix is to initialize
the device to a very high resolution (4000 dpi), which reduces the maximum
page size it can handle to about 130" on a side.  (gdevbbox.c)
	- The bounding box device wasn't identified as a page device.
(gdevbbox.c)
	- The bounding box device used alone disregarded changes in page
size.  (gdevbbox.c)
	- One old compiler didn't allow a structure member name to be the
same as a typedef name.  (gximage.h, gximage.c, gximage4.c)
	- The height and band intersection computations for banded images
still weren't right, leading to inconsistencies in the band list and errors
in the output (typically, thin horizontal white stripes at band boundaries).
(gxclimag.c)

Adds an extensive memory dump facility to the standard allocator.
Eventually this should be moved into a separate file, but it would be too
disruptive to do this just before a release.  (gsalloc.c)

</pre>

<!-- [2.0 end contents] ==================================================== -->

<!-- [3.0 begin visible trailer] =========================================== -->
<hr>

<p>
<small>Copyright &copy; 1997, 1998, 1999, 2000 Aladdin Enterprises.
All rights reserved.</small>

<p>
This software is provided AS-IS with no warranty, either express or
implied.

This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution.

For more information about licensing, please refer to
http://www.ghostscript.com/licensing/. For information on
commercial licensing, go to http://www.artifex.com/licensing/ or
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
San Rafael, CA  94903, U.S.A., +1(415)492-9861.

<p>
<small>Ghostscript version 8.12, 8 December 2003

<!-- [3.0 end visible trailer] ============================================= -->

</body>
</html>
.ps
% Trace the data supplied to the 'image' operator.

% This code currently handles only the (Level 2) dictionary form of image,
% with a single data source and 8-bit pixels.

/traceimage			% <dict> traceimage -
 { currentcolorspace == (setcolorspace\n) print
   (<<) print
   dup { (\<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>History of Ghostscript versions 6.n</title>
<!-- $Id: History6.htm,v 1.46 2003/12/08 23:17:15 giles Exp $ -->
<!--
	WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to
	re-create the table of contents here, because it will replace the
	hand-edited TOC subheads with a separate subhead for each H2 in
	the body of the file.  Or if you do, first look at the original
	TOC to see how to edit it for visual conciseness.
-->
<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
</head>

<body>
<!-- [1.0 begin visible header] ============================================ -->

<!-- [1.1 begin headline] ================================================== -->

<table width="100%" border="0">
<tr><th align="center" bgcolor="#CCCC00"><font size=6>History of Ghostscript versions 6.n</font>
</table>

<!-- [1.1 end headline] ==================================================== -->

<!-- [1.2 begin table of contents] ========================================= -->

<h2>Table of contents</h2>

<blockquote><ul>
<li><a href="#Version6.64">Version 6.64 (2001-04-07)</a>
<ul>
<li><a href="#6.64_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.64-Documentation">Documentation</a>,
    <a href="#6.64-Procedures">Procedures</a>,
    <a href="#6.64-Utilities">Utilities</a>,
    <a href="#6.64-Drivers">Drivers</a>,
    <a href="#6.64-PDF_writer">PDF writer</a>,
    <a href="#6.64-PDF_Interpreter">PDF Interpreter</a>,
    <a href="#6.64-Interpreter">Interpreter</a>,
    <a href="#6.64-Streams">Streams</a>,
    <a href="#6.64-Library">Library</a>,
    <a href="#6.64-Other">Other</a>
</ul>
<li><a href="#Version6.63">Version 6.63 (2001-03-31)</a>
<ul>
<li><a href="#6.63_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.63-Documentation">Documentation</a>,
    <a href="#6.63-Procedures">Procedures</a>,
    <a href="#6.63-Utilities">Utilities</a>,
    <a href="#6.63-Drivers">Drivers</a>,
    <a href="#6.63-PDF_writer">PDF writer</a>,
    <a href="#6.63-PDF_Interpreter">PDF Interpreter</a>,
    <a href="#6.63-Interpreter">Interpreter</a>,
    <a href="#6.63-Streams">Streams</a>,
    <a href="#6.63-Library">Library</a>
</ul>
<li><a href="#Version6.62">Version 6.62 (2001-03-19)</a>
<ul>
<li><a href="#6.62-Documentation">Documentation</a>,
    <a href="#6.62-Procedures">Procedures</a>,
    <a href="#6.62-Utilities">Utilities</a>,
    <a href="#6.62-Drivers">Drivers</a>,
    <a href="#6.62-PDF_writer">PDF writer</a>,
    <a href="#6.62-PDF_Interpreter">PDF Interpreter</a>,
    <a href="#6.62-Interpreter">Interpreter</a>,
    <a href="#6.62-Streams">Streams</a>,
    <a href="#6.62-Library">Library</a>,
    <a href="#6.62-Other">Other</a>
</ul>
<li><a href="#Version6.61">Version 6.61 (2001-02-21)</a>
<ul>
<li><a href="#6.61-Documentation">Documentation</a>,
    <a href="#6.61-Procedures">Procedures</a>,
    <a href="#6.61-Utilities">Utilities</a>,
    <a href="#6.61-Drivers">Drivers</a>,
    <a href="#6.61-PDF_writer">PDF writer</a>,
    <a href="#6.61-PDF_Interpreter">PDF Interpreter</a>,
    <a href="#6.61-Interpreter">Interpreter</a>,
    <a href="#6.61-Streams">Streams</a>,
    <a href="#6.61-Library">Library</a>,
    <a href="#6.61-Other">Other</a>
</ul>
<li><a href="#Version6.60">Version 6.60 (2000-12-31)</a>
<ul>
<li><a href="#6.60_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.60-Documentation">Documentation</a>,
    <a href="#6.60-Procedures">Procedures</a>,
    <a href="#6.60-Utilities">Utilities</a>,
    <a href="#6.60-Drivers">Drivers</a>,
    <a href="#6.60-PDF_writer">PDF writer</a>,
    <a href="#6.60-PDF_Interpreter">PDF Interpreter</a>,
    <a href="#6.60-Interpreter">Interpreter</a>,
    <a href="#6.60-Streams">Streams</a>,
    <a href="#6.60-Library">Library</a>,
    <a href="#6.60-Other">Other</a>
</ul>
<li><a href="#Version6.30">Version 6.30 (2000-10-03)</a>
<ul>
<li><a href="#6.30_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.30 Documentation">Documentation</a>,
    <a href="#6.30 Procedures">Procedures</a>,
    <a href="#6.30 Utilities">Utilities</a>,
    <a href="#6.30 Drivers">Drivers</a>,
    <a href="#6.30 PDF writer">PDF writer</a>,
    <a href="#6.30 Interpreter (PDF)">Interpreter (PDF)</a>,
    <a href="#6.30 Interpreter">Interpreter</a>,
    <a href="#6.30 Streams">Streams</a>,
    <a href="#6.30 Library">Library</a>,
    <a href="#6.30 ???Other???">???Other???</a>
</ul>
<li><a href="#Version6.23">Version 6.23 (2000-08-07)</a>
<ul>
<li><a href="#6.23_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.23 Documentation">Documentation</a>,
    <a href="#6.23 Procedures">Procedures</a>,
    <a href="#6.23 Utilities">Utilities</a>,
    <a href="#6.23 Drivers">Drivers</a>,
    <a href="#6.23 PDF writer">PDF writer</a>,
    <a href="#6.23 Interpreter (PDF)">Interpreter (PDF)</a>,
    <a href="#6.23 Interpreter">Interpreter</a>,
    <a href="#6.23 Library">Library</a>
</ul>
<li><a href="#Version6.22">Version 6.22 (2000-07-05)</a>
<ul>
<li><a href="#6.22_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.22 Documentation">Documentation</a>,
    <a href="#6.22 Procedures">Procedures</a>,
    <a href="#6.22 Utilities">Utilities</a>,
    <a href="#6.22 Drivers">Drivers</a>,
    <a href="#6.22 PDF writer">PDF writer</a>,
    <a href="#6.22 Interpreter (PDF)">Interpreter (PDF)</a>,
    <a href="#6.22 Interpreter">Interpreter</a>,
    <a href="#6.22 Streams">Streams</a>,
    <a href="#6.22 Library">Library</a>
</ul>
<li><a href="#Version6.21">Version 6.21 (2000-04-28)</a>
<ul>
<li><a href="#6.21_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.21 Documentation">Documentation</a>,
    <a href="#6.21 Procedures">Procedures</a>,
    <a href="#6.21 Utilities">Utilities</a>,
    <a href="#6.21 Drivers">Drivers</a>,
    <a href="#6.21 PDF writer">PDF writer</a>,
    <a href="#6.21 Interpreter (PDF)">Interpreter (PDF)</a>,
    <a href="#6.21 Interpreter">Interpreter</a>,
    <a href="#6.21 Streams">Streams</a>,
    <a href="#6.21 Library">Library</a>
</ul>
<li><a href="#Version6.20">Version 6.20 (2000-04-06)</a>
<ul>
<li><a href="#6.20_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.20 Documentation">Documentation</a>,
    <a href="#6.20 Procedures">Procedures</a>,
    <a href="#6.20 Utilities">Utilities</a>,
    <a href="#6.20 Drivers">Drivers</a>,
    <a href="#6.20 PDF writer">PDF writer</a>,
    <a href="#6.20 Interpreter (PDF)">Interpreter (PDF)</a>,
    <a href="#6.20 Interpreter">Interpreter</a>,
    <a href="#6.20 Streams">Streams</a>,
    <a href="#6.20 Library">Library</a>
</ul>
<li>(Versions 6.02 - 6.19 deliberately omitted.)
<li><a href="#Version6.01">Version 6.01 (2000-03-17)</a>
<ul>
<li><a href="#6.01_Incompatible_changes">Incompatible changes</a>,
    <a href="#6.01 Documentation">Documentation</a>,
    <a href="#6.01 Procedures">Procedures</a>,
    <a href="#6.01 Utilities">Utilities</a>,
    <a href="#6.01 Drivers">Drivers</a>,
    <a href="#6.01 PDF writer">PDF writer</a>,
    <a href="#6.01 Interpreter (PDF)">Interpreter (PDF)</a>,
    <a href="#6.01 Interpreter">Interpreter</a>,
    <a href="#6.01 Streams">Streams</a>,
    <a href="#6.01 Library">Library</a>
</ul>
<li><a href="#Version6.0">Version 6.0 (2000-02-03)</a>
<ul>
<li><a href="#6.0_Documentation">Documentation</a>,
    <a href="#6.0_Procedures">Procedures</a>,
    <a href="#6.0_Utilities">Utilities</a>,
    <a href="#6.0_Drivers">Drivers</a>,
    <a href="#6.0_Platforms">Platforms</a>,
    <a href="#6.0_Fonts">Fonts</a>,
    <a href="#6.0_PDF_writer">PDF writer</a>,
    <a href="#6.0_Interpreter_PDF">Interpreter (PDF)</a>,
    <a href="#6.0_Interpreter">Interpreter</a>,
    <a href="#6.0_Streams">Streams</a>,
    <a href="#6.0_Library">Library</a>
</ul>
</ul></blockquote>

<!-- [1.2 end table of contents] =========================================== -->

<!-- [1.3 begin hint] ====================================================== -->

<p>
This document is a record of changes in Ghostscript releases numbered 6.n.
For earlier versions, see the the history documents:

<blockquote>
<a href="History5.htm">History of Ghostscript versions 5.n</a><br>
<a href="History4.htm">History of Ghostscript versions 4.n</a><br>
<a href="History3.htm">History of Ghostscript versions 3.n</a><br>
<a href="History2.htm">History of Ghostscript versions 2.n</a><br>
<a href="History1.htm">History of Ghostscript versions 1.n</a>
</blockquote>

<p>For other information, see the <a href="Readme.htm">Ghostscript
overview</a>.

<!-- [1.3 end hint] ======================================================== -->

<hr>

<!-- [1.0 end visible header] ============================================== -->

<!-- [2.0 begin contents] ================================================== -->

<p>
Within each release, news appears in the following order: Incompatible
changes, Documentation, Procedures, Utilities, Drivers, Platforms, Fonts,
PDF writer (included under Drivers through fileset 5.88), Interpreter,
Streams (included under Interpreter through release 2.9.9), Library.
Changes marked with a * were made available as patches to a previous
release.

<hr>

<h1><a name="Version6.64"></a>Version 6.64 (2001-04-07)</h1>

<p>
This is probably the last beta release before 7.0. Most of the patches
since last time are bug and portability fixes.

<p>
All problems registered on SourceForge numbered 414104 or lower are
closed, except for the following: 209350, 215256, 219798, 221582,
222534, 222727, 224056, 224863, 226477, 226584, 227684, 227709,
228180, 228641, 230694, 231390, 404255, 404482, 405342, 406285,
406689, 406696, 406979, 407342, 409887, 410371, 411753, 413114,
413669, 413747, 414022, 414104.

<h3><a name="6.64_Incompatible_changes"></a>Incompatible changes</h3>

<pre>
(Library)
	- The gs_logical_operation_t type now has a bit indicating
PDF 1.4 transparency.
(Build process)
	- The default directories for XLIBDIR and XINCLUDE now point
to /usr/X11R6. 


<h2><a name="6.64-Documentation"></a>Documentation</h2><pre>

1. Removing the article "Minor Bugs. kshow doesn't restore currentfont after
running proc." due to fixed. 2. Adding article "Buffering in input filters"
to "Differences from Adobe Implementation". (doc/Issues.htm [1.6]:
2001/04/03 15:53:01 igorm)

Updates Glenn Ramsey's email address in the Epson 300 documentation.
(doc/Devices.htm [1.24]: 2001/04/04 04:25:00 raph)

Adds request for code-review submissions to identify intended branches.
(doc/Maintain.htm [1.14]: 2001/04/04 07:22:48 raph)

Move SourceForge bug #226943 to the "Other implementation" section of this
document. The %ram% device has never been a user or customer issue, but it
might be handy to have. (doc/Projects.htm [1.27]: 2001/04/04 16:36:36 rayjj)

Updates to documentation. Location of main ftp site is now
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost. Correct some links to the
www.cs.wisc.edu web site. Remove the statement that the Inprise compiler is
used for Windows distribution archives. (doc/Bug-info.htm [1.14],
doc/Fonts.htm [1.16], doc/Install.htm [1.20], doc/Make.htm [1.26],
doc/New-user.htm [1.23], doc/Release.htm [1.32], doc/Tester.htm [1.10]:
2001/04/05 08:49:57 ghostgum)

Adds issues from SourceForge bug numbers: 232334, 233403, 406643. Also adds
missing bug ID for #228808. (doc/Issues.htm [1.7]: 2001/04/05 14:44:39
rayjj)

Various documenation fixups. Removes pointer to external pdf_sec.ps now that
the full implementation is in our distribution. Adds note on the
class="offset" attribute to the html style guidelines. (doc/API.htm [1.5],
doc/Bug-form.htm [1.18], doc/Htmstyle.htm [1.13], doc/New-user.htm [1.24],
doc/Psfiles.htm [1.17], doc/Readme.htm [1.25]: 2001/04/06 11:27:00 giles)

Uses better test for avoiding crash on "gs -h". Also updates API document.
Thanks to Russell Lang. (doc/API.htm [1.6]: 2001/04/07 00:08:08 raph)

adds a last few doc fixups before the 6.64 beta release.
(doc/Bug-info.htm [1.15], doc/C-style.htm [1.15], doc/Htmstyle.htm [1.14]:
2001/04/07 00:15:02 giles)

Integrates patch from hpijs 0.94 so that Ghostscript can use hpijs drivers.
(doc/Devices.htm [1.25]: 2001/04/07 00:33:29 raph)

Corrections to interpreter API documentation. If "gs -h" executed,
gsapi_exit() must be called next. Assign copyright to artofcode LLC.
(doc/API.htm [1.7]: 2001/04/07 01:17:50 ghostgum)

Updates version number and date in preparation for 6.64 release. Updates
Develop.htm to accurately list source files. (doc/API.htm [1.8],
doc/Bug-form.htm [1.19], doc/Bug-info.htm [1.16], doc/C-style.htm [1.16],
doc/Commprod.htm [1.12], doc/Copying.htm [1.10], doc/Current.htm [1.10],
doc/DLL.htm [1.12], doc/Develop.htm [1.36], doc/Devices.htm [1.26],
doc/Drivers.htm [1.18], doc/Fonts.htm [1.17], doc/Helpers.htm [1.14],
doc/History1.htm [1.10], doc/History2.htm [1.10], doc/History3.htm [1.10],
doc/History4.htm [1.10], doc/History5.htm [1.12], doc/History6.htm [1.25],
doc/Htmstyle.htm [1.15], doc/Install.htm [1.21], doc/Issues.htm [1.8],
doc/Language.htm [1.29], doc/Lib.htm [1.10], doc/Maintain.htm [1.15],
doc/Make.htm [1.27], doc/New-user.htm [1.25], doc/News.htm [1.83],
doc/Projects.htm [1.28], doc/Ps-style.htm [1.10], doc/Ps2epsi.htm [1.11],
doc/Ps2pdf.htm [1.28], doc/Psfiles.htm [1.18], doc/README [1.9],
doc/Readme.htm [1.26], doc/Release.htm [1.33], doc/Source.htm [1.10],
doc/Tester.htm [1.11], doc/Unix-lpr.htm [1.10], doc/Use.htm [1.26],
doc/Xfonts.htm [1.10], doc/gs-vms.hlp [1.9], man/dvipdf.1 [1.7],
man/font2c.1 [1.7], man/gs.1 [1.7], man/gslp.1 [1.7], man/gsnd.1 [1.7],
man/pdf2dsc.1 [1.7], man/pdf2ps.1 [1.9], man/pdfopt.1 [1.7],
man/pf2afm.1 [1.7], man/pfbtopfa.1 [1.8], man/printafm.1 [1.7],
man/ps2ascii.1 [1.7], man/ps2epsi.1 [1.7], man/ps2pdf.1 [1.11],
man/ps2pdfwr.1 [1.8], man/ps2ps.1 [1.14], man/wftopfa.1 [1.7]: 2001/04/07
07:55:24 raph)

Trivial doc patch. (doc/Develop.htm [1.37]: 2001/04/07 07:58:50 raph)

Documentation fixups for broken internal links. (doc/Devices.htm [1.27],
doc/Maintain.htm [1.16], doc/Make.htm [1.28], doc/Release.htm [1.34]:
2001/04/07 08:18:53 giles)

</pre><h2><a name="6.64-Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- Speed up shading type 1. (lib.mak [1.47]: 2001/04/05 08:32:28
igorm)

Adds target to OS/2 makefile to build distribution zip archive. Disables
multiple image windows for OS/2 because we can't tell when subsequent
windows are closed. To allow multiple windows we would need to rewrite
gspmdrv.c. (os2.mak [1.14]: 2001/04/01 10:13:24 ghostgum)

Remove the bmpa*** devices from the default build. These are example devices
to demonstrate async rendering but do not have any advantages to users over
the bmp*** devices, and their inclusion requires thread support which is not
available on all systems. Resolves SourceForge bug #213799.
(unix-gcc.mak [1.15], unixansi.mak [1.11], unixtrad.mak [1.11]: 2001/04/03
20:04:46 rayjj)

updates to support libpng v1.0.9. (all-arch.mak [1.7], bcwin32.mak [1.9],
dvx-gcc.mak [1.9], libpng.mak [1.5], msvc32.mak [1.14], msvclib.mak [1.11],
openvms.mak [1.10], os2.mak [1.15], ugcclib.mak [1.10], unix-gcc.mak [1.16],
unixansi.mak [1.12], unixtrad.mak [1.12], watc.mak [1.11],
watclib.mak [1.11], watcw32.mak [1.10]: 2001/04/04 07:51:15 giles)

updates to support libpng v1.0.10. OS/2 makefile fixup for v1.0.9 and above
from Russell Lang. (all-arch.mak [1.8], bcwin32.mak [1.10],
dvx-gcc.mak [1.10], libpng.mak [1.6], msvc32.mak [1.15], msvclib.mak [1.12],
openvms.mak [1.11], os2.mak [1.16], ugcclib.mak [1.11], unix-gcc.mak [1.17],
unixansi.mak [1.13], unixtrad.mak [1.13], watc.mak [1.12],
watclib.mak [1.12], watcw32.mak [1.11]: 2001/04/06 07:27:22 giles)

Integrates patch from hpijs 0.94 so that Ghostscript can use hpijs drivers.
(contrib.mak [1.23]: 2001/04/07 00:33:29 raph)

Changes default XLIBDIR and XINCLUDE to /usr/X11R6, which is far more likely
than the previous values. (contrib.mak [1.24], ugcclib.mak [1.12],
unix-gcc.mak [1.18], unixtrad.mak [1.14]: 2001/04/07 06:50:27 raph)

Updates version number and date in preparation for 6.64 release. Updates
Develop.htm to accurately list source files. (version.mak [1.32]: 2001/04/07
07:55:25 raph)

</pre><h2><a name="6.64-Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- -dDELAYSAFER flag added; append operator fixed in Windows and OS/2
scripts; literal newlines removed from sed script. Bugs #223896, #230699
(lib/ps2epsi [1.5], lib/ps2epsi.bat [1.4], lib/ps2epsi.cmd [1.2],
lib/ps2epsi.ps [1.5]: 2001/04/04 04:45:42 alexcher)
	- The fileposition operator cannot be used on some data sources. Use
.fileposition (if on Ghostscript) and make some other changes to make this
portable to other PostScript interpreters. SourceForge bug #223005.
(lib/image-qa.ps [1.3]: 2001/04/04 04:54:53 rayjj)
	- Previous fix had OutputFile set to a debug value. Restoring it to
NUL (lib/ps2epsi.bat [1.5]: 2001/04/04 05:19:33 alexcher)
	- Adds whitespace to sed command in ps2epsi, needed on RH Linux 6.2.
(lib/ps2epsi [1.6]: 2001/04/04 21:05:00 raph)

</pre><h2><a name="6.64-Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- JPEG data made GC-traceable to prevent early freeing. Bug # 227090
gdevjpeg.c gdevpsdu.c sdeparam.c zfdctd.c zfdcte.c : JPEG control structure
is allocated with a descriptor. sdct.h : defines descriptors for JPEG
structures. sjpegc.c : implements the linked list of JPEG core blocks
sjpegd.c sjpege.c : corrects the initialization order of (de)compress
struct's gsstruct.h : yet another macro for a structure with 1 string and 1
ptr (gdevjpeg.c [1.3], gdevpsdu.c [1.10]: 2001/04/04 19:20:27 alexcher)

Integrates patch from hpijs 0.94 so that Ghostscript can use hpijs drivers.
(gdevhpij.c [1.1], gdevhpij.h [1.1]: 2001/04/07 00:33:29 raph)

</pre><h2><a name="6.64-PDF_writer"></a>PDF writer</h2><pre>

Fixes problems:
	- Emits W or W* after path construction operators when outputting
clip paths in the pdfwrite driver, to be correct with respect to the PDF
spec. (gdevpdfd.c [1.14]: 2001/04/07 07:12:52 raph)

</pre><h2><a name="6.64-PDF_Interpreter"></a>PDF Interpreter</h2><pre>

Fixes problems:
	- The search area for %%EOF at the end of PDF file is increased to
4K to cover a file generated by Distiller 3.02b for AIX 4.1.1 Customer #580
(lib/pdf_main.ps [1.31]: 2001/04/07 01:34:23 alexcher)
	- A comment is corrected to match the source.
(lib/pdf_main.ps [1.32]: 2001/04/07 01:47:00 alexcher)

PDF 1.4 improvements: Fixes garbage collection of device filter stack.
Forces idempotent path drawing in transparency mode. Corrects handling of
Group at toplevel page. (lib/pdf_draw.ps [1.29], lib/pdf_main.ps [1.30]:
2001/04/06 22:23:44 raph)

</pre><h2><a name="6.64-Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- Windows poll function now returns a code to interrupt Ghostscript
if the text window is closing. Don't show message box on exit if user closed
the text window. (dwmain.c [1.4], dwtext.c [1.3]: 2001/04/03 11:12:58
ghostgum)
	- equality operation between a pointer and enum constant (with 0
value) is a syntax error on CodeWarrior. Replacing the enum with NULL. From
Bernd Heller (zdscpars.c [1.10]: 2001/04/04 05:25:32 alexcher)
	- Register /All and /None in the name table on look-up. Otherwise an
attempt to set the separation color space fails with /undefined
(zcssepr.c [1.7]: 2001/04/04 16:09:15 alexcher)
	- JPEG data made GC-traceable to prevent early freeing. Bug # 227090
gdevjpeg.c gdevpsdu.c sdeparam.c zfdctd.c zfdcte.c : JPEG control structure
is allocated with a descriptor. sdct.h : defines descriptors for JPEG
structures. sjpegc.c : implements the linked list of JPEG core blocks
sjpegd.c sjpege.c : corrects the initialization order of (de)compress
struct's gsstruct.h : yet another macro for a structure with 1 string and 1
ptr (zfdctd.c [1.4], zfdcte.c [1.4]: 2001/04/04 19:20:27 alexcher)
	- Set default size of MAX_ESTACK to 5000. This is the minimal fix
recommended by L. Peter Deutsch in the followup to SourceForge bug #224095.
This should be fixed later to handle automatic stack expansion. The
approaches are defined by Peter as #2 and #3. Interim resolution to
SorceForge bug #224095. (interp.c [1.8]: 2001/04/06 06:42:45 rayjj)
	- Apparently Japanese Windows uses WM_USER+1 internally and
conflicts with gswin32c messages starting from WM_USER+1. So gswin32c
messages are moved to WM_USER+101 range. Fix from Akira Kakuto
(dwmainc.c [1.4]: 2001/04/06 08:36:02 ghostgum)
	- Do not put Windows stdin into binary mode if it is the console
because this returns CR and LF each time the Enter key is pressed. This
caused Ghostscript to not pause at following showpage prompts.
(dwmainc.c [1.5]: 2001/04/06 08:43:29 ghostgum)
	- Genoa FTS 035-07.ps got a SEGV error caused by data being
allocated in non-GC memory, but pointer enumumeration giving these pointers
to the GC for tracing. Since these objects didn't have GC type headers bad
things happened. Also change one of the allocations in sjpegc.c to immovable
that was not -- this change was not needed to prevent the crash.
(zfdctd.c [1.5]: 2001/04/07 00:33:22 rayjj)
	- Compressed fonts are now recognized as narrow during font
substitution. Customer #580 (lib/gs_fonts.ps [1.11]: 2001/04/07 01:07:01
alexcher)
	- two small issues with compilation under xlc on IBM AIX RS6000, a
name conflict with structures names (u)int64, and trailing commas in enum
declarations. Patch from Dan Coby. Sourceforge bug #414328.
(dscparse.h [1.4]: 2001/04/07 07:28:33 giles)

Adds target to OS/2 makefile to build distribution zip archive. Disables
multiple image windows for OS/2 because we can't tell when subsequent
windows are closed. To allow multiple windows we would need to rewrite
gspmdrv.c. (dpmain.c [1.3]: 2001/04/01 10:13:24 ghostgum)

updates to support libpng v1.0.10. OS/2 makefile fixup for v1.0.9 and above
from Russell Lang. (imain.c [1.11]: 2001/04/06 07:27:22 giles)

Removed unecessary include of Macintosh QDOffscreen.h header (iapi.h [1.2]:
2001/04/06 22:57:46 bdheller)

Uses better test for avoiding crash on "gs -h". Also updates API document.
Thanks to Russell Lang. (imain.c [1.12]: 2001/04/07 00:08:08 raph)

Updates version number and date in preparation for 6.64 release. Updates
Develop.htm to accurately list source files. (lib/gs_init.ps [1.33]:
2001/04/07 07:55:25 raph)

Removes \r\n line ends inadvertently added. (dscparse.h [1.5]: 2001/04/07
08:07:17 raph)

</pre><h2><a name="6.64-Streams"></a>Streams</h2><pre>

Fixes problems:
	- JPEG data made GC-traceable to prevent early freeing. Bug # 227090
gdevjpeg.c gdevpsdu.c sdeparam.c zfdctd.c zfdcte.c : JPEG control structure
is allocated with a descriptor. sdct.h : defines descriptors for JPEG
structures. sjpegc.c : implements the linked list of JPEG core blocks
sjpegd.c sjpege.c : corrects the initialization order of (de)compress
struct's gsstruct.h : yet another macro for a structure with 1 string and 1
ptr (sdct.h [1.3], sdeparam.c [1.3], sjpegc.c [1.3], sjpegd.c [1.3],
sjpege.c [1.3]: 2001/04/04 19:20:27 alexcher)
	- Genoa FTS 035-07.ps got a SEGV error caused by data being
allocated in non-GC memory, but pointer enumumeration giving these pointers
to the GC for tracing. Since these objects didn't have GC type headers bad
things happened. Also change one of the allocations in sjpegc.c to immovable
that was not -- this change was not needed to prevent the crash.
(sjpegc.c [1.4]: 2001/04/07 00:33:22 rayjj)

</pre><h2><a name="6.64-Library"></a>Library</h2><pre>

Fixes problems:
	- Register /All and /None in the name table on look-up. Otherwise an
attempt to set the separation color space fails with /undefined
(gscsepr.c [1.8]: 2001/04/04 16:09:15 alexcher)
	- JPEG data made GC-traceable to prevent early freeing. Bug # 227090
gsstruct.h : yet another macro for a structure with 1 string and 1 ptr
(gsstruct.h [1.8]: 2001/04/04 18:45:08 alexcher)
	- Speed up shading type 1. (gsshade.c [1.4], gxshade1.c [1.9]:
2001/04/05 08:32:28 igorm)
	- Some compilers complain that: "Argument of type "stream *" is
incompatible with parameter of type "FILE *". Thanks to Nelson Beebe for
finding this (on SGI). (gs_stdio.h [1.2]: 2001/04/06 03:19:07 rayjj)
	- Fixes crashes in Type 4 function evaluator when stack is empty.
(gsfunc4.c [1.5]: 2001/04/06 22:22:38 raph)

Adds a lop_pdf14 field to logical operators, which is used to force non-
idempotent drawing of paths. (gsropt.h [1.4]: 2001/04/05 23:21:15 raph)

PDF 1.4 improvements: Fixes garbage collection of device filter stack.
Forces idempotent path drawing in transparency mode. Corrects handling of
Group at toplevel page. (gdevp14.c [1.2], gsstate.c [1.11]: 2001/04/06
22:23:44 raph)

</pre><h2><a name="6.64-Other"></a>Other</h2><pre>

Fixes problems:
	- two small issues with compilation under xlc on IBM AIX RS6000, a
name conflict with structures names (u)int64, and trailing commas in enum
declarations. Patch from Dan Coby. Sourceforge bug #414328.
(icclib/icc.c [1.2], icclib/icc.h [1.2]: 2001/04/07 07:28:33 giles)

Removes \r\n line ends inadvertently added. (icclib/icc.c [1.3],
icclib/icc.h [1.3]: 2001/04/07 08:07:16 raph)

<hr>

<h1><a name="Version6.63"></a>Version 6.63 (2001-03-31)</h1>

<p>
This is the second beta release for the upcoming 7.0 release. This
fileset contains a number of stability improvements for the new
display device, integration of PDF 1.4 rendering with all devices, and
the usual round of bug fixes.

<p>
All problems registered on SourceForge numbered 411753 or lower are
closed, except for the following: 201955, 202735, 206652, 209350,
213799, 215256, 219798, 220967, 221582, 222534, 222727, 223005,
223754, 223896, 223992, 224056, 224095, 224863, 226477, 226584,
226943, 227090, 227684, 227709, 228180, 228641, 230694, 230699,
231390, 232334, 233403, 404255, 404482, 405313, 406285, 406643,
406689, 406696, 406979, 407342, 409887, 410371, 410722, 411753.

<h3><a name="6.63_Incompatible_changes"></a>Incompatible changes</h3>

<pre>
(Library)
	- The gs_text_enum_common structure has a new imaging_dev field
which is used by the bbox device to intercept low-level drawing
operations when drawing text.
	- There is a new pdf14 device filter used for rendering PDF 1.4
documents.


<h2><a name="6.63-Documentation"></a>Documentation</h2><pre>

Moves the following SourceForge bugs to the Issues.htm documentation:
201955, 220967, 223992. (doc/Issues.htm [1.2]: 2001/03/20 07:36:30 rayjj)

Added 2 issues related to JPEG in PDF, Bug 226391 (doc/Issues.htm [1.3]:
2001/03/20 16:41:28 alexcher)

Adds %printer% device to Windows to allow a printer to be specified as
-sOutputFile="%printer%Printer Name". This replaces the use of
"\\spool\Printer Name" for all but Windows 3.1/Win32s. Unlike the old
\\spool\, the new %printer% device does not write a large temporary file.
(doc/Install.htm [1.17]: 2001/03/26 11:28:20 ghostgum)

Change the search order for the Ghostscript Windows DLL to try the
executable directory before the location specified in the GS_DLL environment
variable. (doc/Install.htm [1.18]: 2001/03/27 09:35:22 ghostgum)

Some attributes of Catalog object are lost during PDF to PDF conversion
(doc/Issues.htm [1.4]: 2001/03/27 21:03:18 alexcher)

Increments version number after 6.62 release. (doc/News.htm [1.81]:
2001/03/28 21:27:15 raph)

Updates dates in preparation for 6.63 beta release. News updated.
(doc/API.htm [1.4], doc/Bug-form.htm [1.17], doc/Bug-info.htm [1.13],
doc/C-style.htm [1.14], doc/Commprod.htm [1.11], doc/Copying.htm [1.9],
doc/Current.htm [1.9], doc/DLL.htm [1.11], doc/Develop.htm [1.35],
doc/Devices.htm [1.23], doc/Drivers.htm [1.17], doc/Fonts.htm [1.15],
doc/Helpers.htm [1.13], doc/History1.htm [1.9], doc/History2.htm [1.9],
doc/History3.htm [1.9], doc/History4.htm [1.9], doc/History5.htm [1.11],
doc/History6.htm [1.23], doc/Htmstyle.htm [1.12], doc/Install.htm [1.19],
doc/Issues.htm [1.5], doc/Language.htm [1.28], doc/Lib.htm [1.9],
doc/Maintain.htm [1.13], doc/Make.htm [1.25], doc/New-user.htm [1.22],
doc/News.htm [1.82], doc/Projects.htm [1.26], doc/Ps-style.htm [1.9],
doc/Ps2epsi.htm [1.10], doc/Ps2pdf.htm [1.27], doc/Psfiles.htm [1.16],
doc/README [1.8], doc/Readme.htm [1.24], doc/Release.htm [1.31],
doc/Source.htm [1.9], doc/Tester.htm [1.9], doc/Unix-lpr.htm [1.9],
doc/Use.htm [1.25], doc/Xfonts.htm [1.9], doc/gs-vms.hlp [1.8],
man/dvipdf.1 [1.6], man/font2c.1 [1.6], man/gs.1 [1.6], man/gslp.1 [1.6],
man/gsnd.1 [1.6], man/pdf2dsc.1 [1.6], man/pdf2ps.1 [1.8],
man/pdfopt.1 [1.6], man/pf2afm.1 [1.6], man/pfbtopfa.1 [1.7],
man/printafm.1 [1.6], man/ps2ascii.1 [1.6], man/ps2epsi.1 [1.6],
man/ps2pdf.1 [1.10], man/ps2pdfwr.1 [1.7], man/ps2ps.1 [1.13],
man/wftopfa.1 [1.6]: 2001/04/01 01:10:54 raph)

</pre><h2><a name="6.63-Procedures"></a>Procedures</h2><pre>

Adds %printer% device to Windows to allow a printer to be specified as
-sOutputFile="%printer%Printer Name". This replaces the use of
"\\spool\Printer Name" for all but Windows 3.1/Win32s. Unlike the old
\\spool\, the new %printer% device does not write a large temporary file.
(winlib.mak [1.9]: 2001/03/26 11:28:20 ghostgum)

Adds Windows %printer% device to MS Visual C++ build. (msvc32.mak [1.13]:
2001/03/26 12:00:07 ghostgum)

Adds icclib subdirectory to tarballs. (toolbin/makeset.tcl [1.7]: 2001/03/28
21:24:00 raph)

Increments version number after 6.62 release. (version.mak [1.30]:
2001/03/28 21:27:15 raph)

Applies PDF 1.4 rendering with all devices. Previously, only pnga device
contained PDF 1.4 rendering capabilities. Now, when the PDF 1.4 imaging
model is detected in the source file, it installs the pdf 1.4 rendering
device as a device filter. (lib.mak [1.46]: 2001/04/01 00:30:41 raph)

Updates dates in preparation for 6.63 beta release. News updated.
(version.mak [1.31]: 2001/04/01 01:10:55 raph)

</pre><h2><a name="6.63-Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- closefile added for procedure based stdio to prevent disabled
stream from appearing valid. (ziodevsc.c [1.2]: 2001/03/27 09:37:10
ghostgum)
	- Avoid rangecheck error when character code exceeds 255. Support
zero-size bitmap used by some fonts for space character.
(lib/bdftops.ps [1.3]: 2001/03/27 20:53:36 alexcher)
	- BATCH parameter is added to all bdftops* scripts
(lib/bdftops [1.2], lib/bdftops.bat [1.3], lib/bdftops.cmd [1.2]: 2001/03/27
21:15:55 alexcher)
	- Corrects memory allocation of command line arguments in the
programs which load the Ghostscript interpreter DLL / shared object.
(dxmain.c [1.2]: 2001/03/31 10:09:47 ghostgum)

Adds %printer% device to Windows to allow a printer to be specified as
-sOutputFile="%printer%Printer Name". This replaces the use of
"\\spool\Printer Name" for all but Windows 3.1/Win32s. Unlike the old
\\spool\, the new %printer% device does not write a large temporary file.
(gp_msprn.c [1.1]: 2001/03/26 11:28:20 ghostgum)

</pre><h2><a name="6.63-Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- AutoFilter.* options now select lossless compression for the image
smaller than 64 pixels in any dimension. Bug # 226391 from a free user.
(gdevpsdi.c [1.14]: 2001/03/24 04:17:07 alexcher)
	- In the display device, allow NULL as a valid value for
DisplayHandle. Correct the code which requires the device to be closed
before changing the DisplayHandle and DisplayFormat parameters. SourceForge
bug # 411101. (gdevdsp.c [1.2]: 2001/03/28 08:46:15 ghostgum)
	- mdev-&gt;memory member was set to 0 causing gx_device_enum_ptr()
not enumerate mdev. This led to freeing of mdev by GC and memory exceptions
during de-allocation of the display device. (gdevdsp.c [1.3]: 2001/03/28
21:50:56 alexcher)
	- Correct memory allocation problems in the display device. Return
correct pointers from display_enum_ptrs so that the memory device and bitmap
are not moved or prematurely freed. Adds a finalize procedure. Change the
memory device to not forward to the display device. Mark the memory device
as retained so it gets freed at the correct time. (gdevdsp.c [1.4],
gdevdsp2.h [1.2]: 2001/03/29 07:26:57 ghostgum)
	- Prevents the buffered mode of the x11 device from missing updates
from the bitmap buffer to the X display. Fix for Artifex customer #1130
(gdevx.c [1.8]: 2001/03/30 18:22:28 rayjj)

Adds Tumble parameter to mswinpr2 device for specifying the duplex
arrangement. Adds QueryUser to the parameters returned by
win_pr2_get_params, so that it works from the command line.
(gdevwpr2.c [1.8]: 2001/03/26 09:44:08 ghostgum)

Adds %printer% device to Windows to allow a printer to be specified as
-sOutputFile="%printer%Printer Name". This replaces the use of
"\\spool\Printer Name" for all but Windows 3.1/Win32s. Unlike the old
\\spool\, the new %printer% device does not write a large temporary file.
(gdevwpr2.c [1.9]: 2001/03/26 11:28:20 ghostgum)

Applies PDF 1.4 rendering with all devices. Previously, only pnga device
contained PDF 1.4 rendering capabilities. Now, when the PDF 1.4 imaging
model is detected in the source file, it installs the pdf 1.4 rendering
device as a device filter. (gdevp14.h [1.1]: 2001/04/01 00:30:41 raph)

Change: The Ghostscript 'pwrite' function name conflicted with the standard
pwrite function defined in unistd.h on several systems. To avoid confusion
with the standard function change the name to stream_write. Also change
'pputc' to 'stream_putc' and 'pputs' to 'stream_puts'. Fixes SourceForge bug
#410772. Fix by Ray Johnston. (gdevps.c [1.16], gdevpsdu.c [1.9],
gdevpsu.c [1.4]: 2001/04/01 00:35:26 raph)

</pre><h2><a name="6.63-PDF_writer"></a>PDF writer</h2><pre>

Fixes problems:
	- coordinate range is reduced to +/- 16383 to satisfy actual AR4
restrictions. When CTM was scaled to reduce the range, line width in stroke
and CTM in fill were wrong. Bug # 409105 from raf_mellen at
users.sourceforge.net (gdevpdfd.c [1.12]: 2001/03/21 04:25:48 alexcher)
	- ARTICLE pdfmark generated invalid bead object if /Page key was
left out. Bug # 227651 from mbentley at users.sourceforge.net
(gdevpdfm.c [1.10]: 2001/03/21 05:10:31 alexcher)
	- initial values of fill and stroke color didn't change when
ProcessColorModel changed. An attempt to set white color in CMYK mode was
ignored because it was considered equal to the default color. Bug #410441
from a free user. (gdevpdf.c [1.30]: 2001/03/22 15:12:48 alexcher)
	- pdf_reset_graphics() didn't set correct default color (black) in
/DeviceCMYK color model. An attempt to set white color was ignored because
it was considered equal to the default color causing white objects rendered
black. Bug #410441 from a free user. (gdevpdfg.c [1.11]: 2001/03/23 22:04:19
alexcher)
	- Maximum depth of an outline tree increased from 8 to 32. Bug
#410595 from a free user. (gdevpdfx.h [1.29]: 2001/03/23 22:18:28 alexcher)

Change: The Ghostscript 'pwrite' function name conflicted with the standard
pwrite function defined in unistd.h on several systems. To avoid confusion
with the standard function change the name to stream_write. Also change
'pputc' to 'stream_putc' and 'pputs' to 'stream_puts'. Fixes SourceForge bug
#410772. Fix by Ray Johnston. (gdevpdf.c [1.31], gdevpdfb.c [1.4],
gdevpdfc.c [1.15], gdevpdfd.c [1.13], gdevpdfe.c [1.9], gdevpdfg.c [1.12],
gdevpdfj.c [1.6], gdevpdfm.c [1.11], gdevpdfo.c [1.7], gdevpdfs.c [1.3],
gdevpdft.c [1.32], gdevpdfu.c [1.15], gdevpdfw.c [1.10]: 2001/04/01 00:35:26
raph)

</pre><h2><a name="6.63-PDF_Interpreter"></a>PDF Interpreter</h2><pre>

Fixes problems:
	- OmniForm generates PDF files with endobj missing in some objects.
Adobe Acrobat Reader ignores this. Generally speaking, Ghostscript does not
attempt to accept files that grossly fail to obey the Adobe specification
and are produced by software other than a very few extremely widespread
applications. However work-around for this case is easy and unlikely to
break anything. SourceForge bug #406694. (lib/pdf_base.ps [1.14]: 2001/03/20
05:04:59 alexcher)
	- URI action was not converted to corresponding pdfmark and lost
during PDF to PDF conversion. Bug #409245, patch Leon Bottou with some
changes. (lib/pdf_main.ps [1.28]: 2001/03/24 23:59:23 alexcher)

Implementation of security hooks for PDF reader by Geoffrey Keating is
merged into the main GS code base. (lib/pdf_sec.ps [1.3]: 2001/03/25
02:03:44 alexcher)

Applies PDF 1.4 rendering with all devices. Previously, only pnga device
contained PDF 1.4 rendering capabilities. Now, when the PDF 1.4 imaging
model is detected in the source file, it installs the pdf 1.4 rendering
device as a device filter. (lib/pdf_main.ps [1.29]: 2001/04/01 00:30:41
raph)

</pre><h2><a name="6.63-Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- flush procedure based stdout and stderr on exit. (imain.c [1.8]:
2001/03/27 09:38:39 ghostgum)
	- Fix for CIDFontType 0 : 1. Erroneous glyphs are drawn by cshow
(with -dNOCACHE); 2. Glyphs written in horizontal direction instead vertical
(with anti-aliasing); 3. Erroneous glyphs and awkward metrics (with
anti-aliasing and -dNOCACHE); Patches 1 &amp; 3 from Hideyuki Suzuki
(hideyuki), improved by igorm. SourceForge bug #222683. (zchar1.c [1.7]:
2001/03/27 09:56:39 igorm)
	- Changes to introduce the min_left stream state variable set this
to 1 for procedure streams, which caused 1 character to be retained in the
stream buffer which was not passed to the client. This broke the DLL
interface where procedure callouts were used to get the string from the
callback. Procedure streams have no need for EOD lookahead (to force
closure) so the correct min_left value is 0. SourceForge bug #404331.
(zfproc.c [1.9]: 2001/03/29 04:09:40 rayjj)
	- After recognizing a number the scanner wrongly interpreted it as a
name, if the number ends at the end of input buffer. Change from Raph.
SourceForge bug #224205. (iscannum.c [1.3]: 2001/03/29 13:27:59 igorm)
	- Correct the Windows virtual key code passed from the image window
to the console. (dwimg.c [1.2]: 2001/03/31 10:07:48 ghostgum)
	- Put Windows console stdout and stderr in binary mode. Ignore the
initial callout for stdout and stderr as the procedure stream acquires a
buffer. (dwmainc.c [1.2], imain.c [1.9]: 2001/03/31 10:08:43 ghostgum)
	- Corrects memory allocation of command line arguments in the
programs which load the Ghostscript interpreter DLL / shared object.
(dpmain.c [1.2], dwmain.c [1.2], dwmainc.c [1.3]: 2001/03/31 10:09:47
ghostgum)
	- When gswin32 text window is closed, exit the interpreter on next
access to stdin and then destroy the text window. (dwmain.c [1.3],
dwtext.c [1.2], imain.c [1.10]: 2001/03/31 10:11:55 ghostgum)

Change the search order for the Ghostscript Windows DLL to try the
executable directory before the location specified in the GS_DLL environment
variable. (dwdll.c [1.2]: 2001/03/27 09:35:22 ghostgum)

Update mail address from bug-gs@aladdin.com to bug-gs@ghostscript.com.
(imainarg.c [1.10]: 2001/03/28 18:30:35 rayjj)

Increments version number after 6.62 release. (lib/gs_init.ps [1.32]:
2001/03/28 21:27:15 raph)

Applies PDF 1.4 rendering with all devices. Previously, only pnga device
contained PDF 1.4 rendering capabilities. Now, when the PDF 1.4 imaging
model is detected in the source file, it installs the pdf 1.4 rendering
device as a device filter. (zdfilter.c [1.2]: 2001/04/01 00:30:41 raph)

Change: The Ghostscript 'pwrite' function name conflicted with the standard
pwrite function defined in unistd.h on several systems. To avoid confusion
with the standard function change the name to stream_write. Also change
'pputc' to 'stream_putc' and 'pputs' to 'stream_puts'. Fixes SourceForge bug
#410772. Fix by Ray Johnston. (zfcmap.c [1.9]: 2001/04/01 00:35:26 raph)

</pre><h2><a name="6.63-Streams"></a>Streams</h2><pre>

Fixes problems:
	- Changes to introduce the min_left stream state variable set this
to 1 for procedure streams, which caused 1 character to be retained in the
stream buffer which was not passed to the client. This broke the DLL
interface where procedure callouts were used to get the string from the
callback. Procedure streams have no need for EOD lookahead (to force
closure) so the correct min_left value is 0. SourceForge bug #404331.
(stream.c [1.11], stream.h [1.8]: 2001/03/29 04:09:40 rayjj)

Change: The Ghostscript 'pwrite' function name conflicted with the standard
pwrite function defined in unistd.h on several systems. To avoid confusion
with the standard function change the name to stream_write. Also change
'pputc' to 'stream_putc' and 'pputs' to 'stream_puts'. Fixes SourceForge bug
#410772. Fix by Ray Johnston. (spprint.c [1.3], spprint.h [1.3],
spsdf.c [1.5]: 2001/04/01 00:35:26 raph)

</pre><h2><a name="6.63-Library"></a>Library</h2><pre>

Fixes problems:
	- The old code can mis-identify ShadingType 1 function as constant
due to testing it at insufficient set of points. Replacing it with slower
accurate code. SourceForge bug #228714. (gxshade.c [1.6], gxshade.h [1.4],
gxshade1.c [1.8]: 2001/03/25 10:18:50 igorm)
	- Fix for CIDFontType 0 : 1. Erroneous glyphs are drawn by cshow
(with -dNOCACHE); 2. Glyphs written in horizontal direction instead vertical
(with anti-aliasing); 3. Erroneous glyphs and awkward metrics (with
anti-aliasing and -dNOCACHE); Patches 1 &amp; 3 from Hideyuki Suzuki
(hideyuki), improved by igorm. SourceForge bug #222683. (gxchar.c [1.4]:
2001/03/27 09:56:39 igorm)
	- Adds imaging_dev field to text enumeration, so that bbox device
can intercept low level drawing operations caused by implementation of
forwarded high level text operations. (gdevbbox.c [1.4], gstext.c [1.6],
gxccache.c [1.4], gxtext.h [1.7]: 2001/04/01 00:33:36 raph)

Applies PDF 1.4 rendering with all devices. Previously, only pnga device
contained PDF 1.4 rendering capabilities. Now, when the PDF 1.4 imaging
model is detected in the source file, it installs the pdf 1.4 rendering
device as a device filter. (gdevp14.c [1.1], gsdfilt.c [1.2],
gsdfilt.h [1.2]: 2001/04/01 00:30:41 raph)

Change: The Ghostscript 'pwrite' function name conflicted with the standard
pwrite function defined in unistd.h on several systems. To avoid confusion
with the standard function change the name to stream_write. Also change
'pputc' to 'stream_putc' and 'pputs' to 'stream_puts'. Fixes SourceForge bug
#410772. Fix by Ray Johnston. (gdevpsf1.c [1.9], gdevpsfm.c [1.5],
gdevpsft.c [1.7], gsfunc4.c [1.4]: 2001/04/01 00:35:26 raph)

<hr>

<h1><a name="Version6.62"></a>Version 6.62 (2001-03-19)</h1>

<p>
This is the first beta release for the upcoming 7.0 release. This fileset
adds ICC profile support using Graeme Gill's icclib, and the new DLL
interface from Russell Lang.

<p>
All problems registered on SourceForge numbered 409245 or lower are
closed, except for the following: 201955, 202735, 206652, 209350,
213799, 215256, 219677, 219798, 220967, 221582, 222534, 222683,
222727, 223005, 223091, 223754, 223896, 223992, 224056, 224095,
224134, 224205, 224863, 226364, 226391, 226462, 226477, 226584,
226943, 227090, 227190, 227276, 227382, 227651, 227684, 227709,
228180, 228354, 228423, 228641, 228714, 228788, 228808, 229439,
230694, 230699, 231390, 232334, 232696, 233403, 404255, 404255,
404482, 404933, 405313, 406285, 406643, 406689, 406694, 406696,
406699, 406979, 407342, 409105, 409133, 409244, 409245. Note that,
since the 6.61 release, SourceForge has renumbered all bugs in the
1xxxxx range by adding 100000 (thus, they are now 2xxxxxx).


<h2><a name="6.62-Documentation"></a>Documentation</h2><pre>

Increments version number to 6.62 as part of 6.61 release process.
(doc/News.htm [1.77]: 2001/02/24 01:56:01 raph)

Adds Epson Stylus Color 300 support to uniprint, also some code cleanups.
Thanks to Glenn Ramsey and Gunther Hess for the patch.
(doc/Devices.htm [1.20]: 2001/03/03 00:45:01 raph)

Added documentation for Ghostscript interpreter API as used by Windows and
OS/2 DLL and Linux shared object. (doc/API.htm [1.1], doc/DLL.htm [1.8],
doc/Readme.htm [1.20]: 2001/03/13 07:12:06 ghostgum)

Documentation changes in preparation for 6.62 beta release.
(doc/API.htm [1.2], doc/Bug-form.htm [1.15], doc/Bug-info.htm [1.11],
doc/C-style.htm [1.12], doc/Commprod.htm [1.9], doc/Copying.htm [1.7],
doc/Current.htm [1.7], doc/DLL.htm [1.9], doc/Develop.htm [1.33],
doc/Devices.htm [1.21], doc/Drivers.htm [1.15], doc/Fonts.htm [1.13],
doc/Helpers.htm [1.10], doc/History1.htm [1.7], doc/History2.htm [1.7],
doc/History3.htm [1.7], doc/History4.htm [1.7], doc/History5.htm [1.9],
doc/History6.htm [1.19], doc/Htmstyle.htm [1.10], doc/Install.htm [1.15],
doc/Language.htm [1.26], doc/Lib.htm [1.7], doc/Maintain.htm [1.11],
doc/Make.htm [1.23], doc/New-user.htm [1.20], doc/News.htm [1.78],
doc/Projects.htm [1.24], doc/Ps-style.htm [1.7], doc/Ps2epsi.htm [1.8],
doc/Ps2pdf.htm [1.25], doc/Psfiles.htm [1.14], doc/README [1.6],
doc/Readme.htm [1.21], doc/Release.htm [1.29], doc/Source.htm [1.7],
doc/Tester.htm [1.7], doc/Unix-lpr.htm [1.7], doc/Use.htm [1.23],
doc/Xfonts.htm [1.7], doc/gs-vms.hlp [1.6], man/dvipdf.1 [1.4],
man/font2c.1 [1.4], man/gs.1 [1.4], man/gslp.1 [1.4], man/gsnd.1 [1.4],
man/pdf2dsc.1 [1.4], man/pdf2ps.1 [1.6], man/pdfopt.1 [1.4],
man/pf2afm.1 [1.4], man/pfbtopfa.1 [1.5], man/printafm.1 [1.4],
man/ps2ascii.1 [1.4], man/ps2epsi.1 [1.4], man/ps2pdf.1 [1.8],
man/ps2pdfwr.1 [1.5], man/ps2ps.1 [1.11], man/wftopfa.1 [1.4]: 2001/03/17
01:26:48 raph)

Updates Changes and History6 files from cvs commit logs, in preparation for
6.62 beta release. (doc/Changes.htm [1.22], doc/History6.htm [1.20]:
2001/03/17 01:30:16 raph)

There was a spelling error in Juan Manuel Acosta's name. His entry is also
moved to "major contributers" section. (doc/Helpers.htm [1.11]: 2001/03/19
16:46:05 alexcher)

Updates date for 6.62 release to 2001-03-19. (doc/API.htm [1.3],
doc/Bug-form.htm [1.16], doc/Bug-info.htm [1.12], doc/C-style.htm [1.13],
doc/Commprod.htm [1.10], doc/Copying.htm [1.8], doc/Current.htm [1.8],
doc/DLL.htm [1.10], doc/Develop.htm [1.34], doc/Devices.htm [1.22],
doc/Drivers.htm [1.16], doc/Fonts.htm [1.14], doc/Helpers.htm [1.12],
doc/History1.htm [1.8], doc/History2.htm [1.8], doc/History3.htm [1.8],
doc/History4.htm [1.8], doc/History5.htm [1.10], doc/History6.htm [1.21],
doc/Htmstyle.htm [1.11], doc/Install.htm [1.16], doc/Language.htm [1.27],
doc/Lib.htm [1.8], doc/Maintain.htm [1.12], doc/Make.htm [1.24],
doc/New-user.htm [1.21], doc/News.htm [1.79], doc/Projects.htm [1.25],
doc/Ps-style.htm [1.8], doc/Ps2epsi.htm [1.9], doc/Ps2pdf.htm [1.26],
doc/Psfiles.htm [1.15], doc/README [1.7], doc/Readme.htm [1.22],
doc/Release.htm [1.30], doc/Source.htm [1.8], doc/Tester.htm [1.8],
doc/Unix-lpr.htm [1.8], doc/Use.htm [1.24], doc/Xfonts.htm [1.8],
doc/gs-vms.hlp [1.7], man/dvipdf.1 [1.5], man/font2c.1 [1.5],
man/gs.1 [1.5], man/gslp.1 [1.5], man/gsnd.1 [1.5], man/pdf2dsc.1 [1.5],
man/pdf2ps.1 [1.7], man/pdfopt.1 [1.5], man/pf2afm.1 [1.5],
man/pfbtopfa.1 [1.6], man/printafm.1 [1.5], man/ps2ascii.1 [1.5],
man/ps2epsi.1 [1.5], man/ps2pdf.1 [1.9], man/ps2pdfwr.1 [1.6],
man/ps2ps.1 [1.12], man/wftopfa.1 [1.5]: 2001/03/19 17:26:17 raph)

Inital version of this file that will be used to capture notes about minor
bugs or compatibility that are identified when action will not be undertaken
immediately. (doc/Issues.htm [1.1]: 2001/03/19 19:27:04 rayjj)

</pre><h2><a name="6.62-Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- Minor changes to fix compilation on VMS, thanks to Jacob
=JoukJansen for the patch. (devs.mak [1.42]: 2001/03/01 22:16:02 raph)
	- Corrects whitespace for new entries in devs.mak for VMS build.
Thanks to Jouk Jansen. (devs.mak [1.44]: 2001/03/13 20:01:35 raph)
	- Fixes SourceForge bug #219677. Adds debug and debugclean targets
to MSVC++ makefile that build in the debugobj and debugbin directories.
Fixes BEGINFILES and BEGINFILES2 so that 'make clean' removes all files.
(msvc32.mak [1.10], winlib.mak [1.7]: 2001/03/16 22:53:18 ghostgum)
	- /None and /All separations are now supported. SourceForge bug
#228354. (lib.mak [1.45]: 2001/03/18 19:15:50 igorm)
	- Adds lib directory to MS-Windows distribution archive. Change
copyright message in MS-Windows setup program to artofcode LLC. Thanks to
Russell Lang for the patch. (winint.mak [1.7]: 2001/03/19 17:12:45 raph)

Increments version number to 6.62 as part of 6.61 release process.
(version.mak [1.27]: 2001/02/24 01:56:01 raph)

Provide alternate %stdin/out/err implementation using procedure based
streams and callouts. Previous stdio implementation with
STDIO_IMPLEMENTATION= New callout stdio implementation with
STDIO_IMPLEMENTATION=c Bug fix to zflush and zpeekstring. New stdio stream
code is in ziodevsc.c which will be in next commit. (bcwin32.mak [1.5],
dvx-gcc.mak [1.6], gs.mak [1.3], int.mak [1.43], msvc32.mak [1.7],
msvclib.mak [1.7], openvms.mak [1.7], os2.mak [1.10], ugcclib.mak [1.7],
unix-gcc.mak [1.10], unixansi.mak [1.8], unixtrad.mak [1.8], watc.mak [1.7],
watclib.mak [1.7], watcw32.mak [1.6]: 2001/03/12 04:05:19 ghostgum)

Adds device filter pipeline, which will be used by PDF 1.4 and other
enhanced imaging operations. (int.mak [1.44], lib.mak [1.43]: 2001/03/13
00:41:10 raph)

Implement new Ghostscript interpreter API for DLL or shared object.
Reimplement old DLL interface using new API. See iapi.h and iapi.c for new
API. For unix, build using "make so". Added loader programs for Ghostscript
interpreter library for Linux (dxmain.c), Windows (dw*.c) and OS/2
(dpmain.c). Add new "display" device for use with the new API. Linux
dxmain.c uses the "display" device, Gtk+ and GdkRgb for faster drawing than
the "x11" device. (devs.mak [1.43], gsdll2.def [1.2], gsdll32.def [1.2],
int.mak [1.45], msvc32.mak [1.8], os2.mak [1.11], unix-dll.mak [1.1],
unix-gcc.mak [1.11], winint.mak [1.6], winlib.mak [1.6]: 2001/03/13 07:09:28
ghostgum)

When building the Linux shared object, separate directories soobj and sobin
are used to prevent 'make' from mixing the object files and building a
corrupt executable. Added 'API.htm' to the installed documentation files.
(unix-dll.mak [1.2], unix-gcc.mak [1.12], unixinst.mak [1.18]: 2001/03/15
09:11:28 ghostgum)

Change AFPL Ghostscript path on Windows and OS/2 platforms from c:/aladdin
to c:/gs. (bcwin32.mak [1.6], msvc32.mak [1.9], msvclib.mak [1.8],
watc.mak [1.8], watclib.mak [1.8], watcw32.mak [1.7]: 2001/03/16 22:19:16
ghostgum)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (bcwin32.mak [1.7], devs.mak [1.45], dvx-gcc.mak [1.7], gs.mak [1.4],
icclib.mak [1.1], int.mak [1.46], lib.mak [1.44], msvc32.mak [1.11],
msvclib.mak [1.9], openvms.mak [1.8], os2.mak [1.12], ugcclib.mak [1.8],
unix-gcc.mak [1.13], unixansi.mak [1.9], unixtrad.mak [1.9],
version.mak [1.28], watc.mak [1.9], watclib.mak [1.9], watcw32.mak [1.8],
wctail.mak [1.3], winlib.mak [1.8]: 2001/03/17 01:15:42 raph)

Moves patched icclib 1.23 files into the new icclib/ subdirectory, with
makefile changes to match. Adds missing COPYRIGHT and other documentation to
icclib. Thanks to L. Peter Deutsch for pointing out the need.
(bcwin32.mak [1.8], dvx-gcc.mak [1.8], msvc32.mak [1.12],
msvclib.mak [1.10], openvms.mak [1.9], os2.mak [1.13], ugcclib.mak [1.9],
unix-gcc.mak [1.14], unixansi.mak [1.10], unixtrad.mak [1.10],
watc.mak [1.10], watclib.mak [1.10], watcw32.mak [1.9]: 2001/03/19 17:11:15
raph)

Updates date for 6.62 release to 2001-03-19. (version.mak [1.29]: 2001/03/19
17:26:18 raph)

</pre><h2><a name="6.62-Utilities"></a>Utilities</h2><pre>

Replace many references to exit() with returns. (gp_dvx.c [1.3],
gp_os2.c [1.7], gp_unix.c [1.4]: 2001/03/12 03:50:02 ghostgum)

Cleanup of MS-Windows and OS/2 code. Remove old 16-bit MS-Windows code.
Remove references to stdout/err, replacing with eprintf(). Remove global
variables. Disable mswindll and os2dll devices if a callback function is not
provided. (gp_mswin.c [1.4], gp_os2.c [1.8]: 2001/03/12 03:56:13 ghostgum)

stdio implementation using callouts. Missing file from last commit.
(ziodevsc.c [1.1]: 2001/03/12 04:11:28 ghostgum)

Implement new Ghostscript interpreter API for DLL or shared object.
Reimplement old DLL interface using new API. See iapi.h and iapi.c for new
API. For unix, build using "make so". Added loader programs for Ghostscript
interpreter library for Linux (dxmain.c), Windows (dw*.c) and OS/2
(dpmain.c). Add new "display" device for use with the new API. Linux
dxmain.c uses the "display" device, Gtk+ and GdkRgb for faster drawing than
the "x11" device. (dxmain.c [1.1], gp_msdll.c [1.1], gp_mswin.c [1.5],
gp_os2.c [1.9], gsdll.c [1.4]: 2001/03/13 07:09:28 ghostgum)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (icc.c [1.1]: 2001/03/17 01:15:42 raph)

Moves patched icclib 1.23 files into the new icclib/ subdirectory, with
makefile changes to match. Adds missing COPYRIGHT and other documentation to
icclib. Thanks to L. Peter Deutsch for pointing out the need. (icc.c [1.2]:
2001/03/19 17:11:15 raph)

</pre><h2><a name="6.62-Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- to achieve page independence, every page must in the general case
set page parameters. To preserve duplexing the page cannot set page
parameters. New code checks the current page size and sets it only if it is
necessary. Bug #404376 reported by bannis at users.sourceforge.net
(gdevpsu.c [1.3]: 2001/03/03 03:27:03 alexcher)

Adds Epson Stylus Color 300 support to uniprint, also some code cleanups.
Thanks to Glenn Ramsey and Gunther Hess for the patch. (gdevupd.c [1.4],
lib/stc300.upp [1.1], lib/stc300bl.upp [1.1], lib/stc300bm.upp [1.1]:
2001/03/03 00:45:01 raph)

Cleanup of MS-Windows and OS/2 code. Remove old 16-bit MS-Windows code.
Remove references to stdout/err, replacing with eprintf(). Remove global
variables. Disable mswindll and os2dll devices if a callback function is not
provided. (gdevmswn.c [1.3], gdevpm.c [1.3], gdevwdib.c [1.3],
gdevwpr2.c [1.6], gdevwprn.c [1.3]: 2001/03/12 03:56:13 ghostgum)

Redirect all user messages from stdout and stderr to outwrite() and
errwrite(). This is needed to allow stdout/err to be redirected to the
caller for DLL / shared object builds. (gdev4693.c [1.2], gdevcdj.c [1.5],
gdevhl7x.c [1.4], gdevifno.c [1.2], gdevimgn.c [1.3], gdevos2p.c [1.4],
gdevsppr.c [1.3], gdevsunr.c [1.3], gdevupd.c [1.5], gdevwddb.c [1.3],
gdevwpr2.c [1.7]: 2001/03/13 06:51:39 ghostgum)

Implement new Ghostscript interpreter API for DLL or shared object.
Reimplement old DLL interface using new API. See iapi.h and iapi.c for new
API. For unix, build using "make so". Added loader programs for Ghostscript
interpreter library for Linux (dxmain.c), Windows (dw*.c) and OS/2
(dpmain.c). Add new "display" device for use with the new API. Linux
dxmain.c uses the "display" device, Gtk+ and GdkRgb for faster drawing than
the "x11" device. (gdevdsp.c [1.1], gdevdsp.h [1.1], gdevdsp2.h [1.1],
gdevmswn.c [1.4], gdevpm.c [1.4]: 2001/03/13 07:09:28 ghostgum)

Adds typed image rendering to pnga (prototype PDF 1.4) device.
(gdevpnga.c [1.3]: 2001/03/17 00:16:53 raph)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (gdevpx.c [1.6]: 2001/03/17 01:15:42 raph)

</pre><h2><a name="6.62-PDF_writer"></a>PDF writer</h2><pre>

Fixes problems:
	- properly include unistd_.h in files that call unlink()
(gdevpdf.c [1.29]: 2001/03/16 22:12:34 giles)

Redirect all user messages from stdout and stderr to outwrite() and
errwrite(). This is needed to allow stdout/err to be redirected to the
caller for DLL / shared object builds. (gdevpdfm.c [1.9]: 2001/03/13
06:51:39 ghostgum)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (gdevpdfc.c [1.14]: 2001/03/17 01:15:42 raph)

</pre><h2><a name="6.62-PDF_Interpreter"></a>PDF Interpreter</h2><pre>

Fixes problems:
	- When the stream is located in an external file (i.e. the stream
dictionary contains an /F entry) GS fails with "typecheck in .knownget"
because of a minor bug in stack handling in pdf_base.ps. Bug #229425, the
fix from Andreas Bolsch &lt;meromorphic at users.sourceforge.net&gt;
(lib/pdf_base.ps [1.13]: 2001/03/04 16:59:19 alexcher)
	- GS can override image interpolation using INTERPOLATE or
NOINTERPOLATE flags. These flags had no effect on PDF because the PDF
interpreter is bound earlier than image operator is redefined. New version
takes image and imagemask values from systemdict at run time.
(lib/pdf_draw.ps [1.27]: 2001/03/11 05:15:26 alexcher)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (lib/pdf_draw.ps [1.28], lib/pdf_ops.ps [1.16]: 2001/03/17 01:15:41
raph)

</pre><h2><a name="6.62-Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- Allocate filter in local VM when currentglobal is false. Prevents
a problem with some QuarkXpress ProcSets that turn off vmreclaim and expect
save/restore to free memory which only works on local VM. Fix for problem
reported by Artifex customer #150, file "japan.ps". (zfilter.c [1.5]:
2001/02/28 00:39:26 rayjj)
	- Speed-up JPEG decompression by increasing file buffer to 2K. This
avoids installation of an intermediate buffering filter that resulted in a
byte-by-byte filling of the buffer to the JPEG code. When the buffer was not
full enough a recoverable error would result in a round trip for the next
byte. Fixes SourcForge bug #405342 for Artifex customer #350.
(zfile.c [1.7]: 2001/03/02 03:06:50 alexcher)
	- Removes Category dictionary from dictionary stack during the
execution of the /Font resourceforall procedure, needed for proper access
from the procedure to underlying dictionary. Fixes SourceForge bug #224973.
(lib/gs_cidcm.ps [1.2]: 2001/03/03 15:09:12 igorm)
	- GS didn't accept packed array as data source in image with
multiple data sources. From internal bug report. (zimage2.c [1.4]:
2001/03/12 22:53:22 alexcher)
	- ztype9mapcid now allocates string in global memory space to match
allocation of contents. Thanks to Masatake YAMATO for the patch.
(zfcid0.c [1.6]: 2001/03/13 19:57:06 raph)
	- Define to DefaultGray, DefaultRGB, DefaultCMYK color spaces to
allow UseCIEColor to work. SourceForge bugs #216461, #219676.
(lib/gs_ll3.ps [1.8]: 2001/03/14 12:00:37 igorm)
	- /None and /All separations are now supported. SourceForge bug
#228354. (zcssepr.c [1.6]: 2001/03/18 19:17:50 igorm)

Increments version number to 6.62 as part of 6.61 release process.
(lib/gs_init.ps [1.30]: 2001/02/24 01:56:01 raph)

Replace many references to exit() with returns. (errors.h [1.3], gs.c [1.3],
igcref.c [1.3], imain.c [1.4], imainarg.c [1.7], imainarg.h [1.3],
zcontext.c [1.7]: 2001/03/12 03:50:02 ghostgum)

Provide alternate %stdin/out/err implementation using procedure based
streams and callouts. Previous stdio implementation with
STDIO_IMPLEMENTATION= New callout stdio implementation with
STDIO_IMPLEMENTATION=c Bug fix to zflush and zpeekstring. New stdio stream
code is in ziodevsc.c which will be in next commit. (errors.h [1.4],
files.h [1.3], imain.c [1.5], iminst.h [1.3], interp.c [1.7], zfile.c [1.8],
zfileio.c [1.10], zfproc.c [1.8], ziodev.c [1.4]: 2001/03/12 04:05:19
ghostgum)

This fix corrects a problem with VM usage in the DSC parser. Previously the
dictionary dsc_dict was allocated in global VM but the DSC parser would try
to insert items while in local VM mode. This fix forces the DSC parser into
global VM mode. (lib/gs_dscp.ps [1.4]: 2001/03/12 22:41:22 dancoby)

Adds device filter pipeline, which will be used by PDF 1.4 and other
enhanced imaging operations. (zdfilter.c [1.1]: 2001/03/13 00:41:10 raph)

Redirect all user messages from stdout and stderr to outwrite() and
errwrite(). This is needed to allow stdout/err to be redirected to the
caller for DLL / shared object builds. (gs.c [1.4], idebug.c [1.3],
igc.c [1.3], imain.c [1.6], imainarg.c [1.8]: 2001/03/13 06:51:39 ghostgum)

Implement new Ghostscript interpreter API for DLL or shared object.
Reimplement old DLL interface using new API. See iapi.h and iapi.c for new
API. For unix, build using "make so". Added loader programs for Ghostscript
interpreter library for Linux (dxmain.c), Windows (dw*.c) and OS/2
(dpmain.c). Add new "display" device for use with the new API. Linux
dxmain.c uses the "display" device, Gtk+ and GdkRgb for faster drawing than
the "x11" device. (dpmain.c [1.1], dpmainc.c [1.3], dwdll.c [1.1],
dwdll.cpp [1.3], dwdll.h [1.3], dwimg.c [1.1], dwimg.cpp [1.4],
dwimg.h [1.3], dwmain.c [1.1], dwmain.cpp [1.3], dwmain.h [1.3],
dwmainc.c [1.1], dwmainc.cpp [1.4], dwnodll.c [1.1], dwnodll.cpp [1.3],
dwtext.c [1.1], dwtext.cpp [1.3], dwtext.h [1.3], files.h [1.4], gs.c [1.5],
iapi.c [1.1], iapi.h [1.1], iconf.c [1.3], idisp.c [1.1], idisp.h [1.1],
imain.c [1.7], imainarg.c [1.9], iminst.h [1.4], main.h [1.3]: 2001/03/13
07:09:28 ghostgum)

Interpolation overriding is modified to support - colorimage; old version
did nothing - ImageType 3 dictionaries; old version did nothing - local data
source in global mode; old version failed (lib/gs_init.ps [1.31]: 2001/03/13
22:50:03 alexcher)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (icie.h [1.3], lib/gs_icc.ps [1.1], zcie.c [1.5], zicc.c [1.1]:
2001/03/17 01:15:41 raph)

</pre><h2><a name="6.62-Streams"></a>Streams</h2><pre>

Fixes problems:
	- eexecDecode filter returned EOF immediately if the input stream
was shorter than 9 characters. New code may misidentify short streams but
old code always failed. (seexec.c [1.4]: 2001/02/23 03:00:13 alexcher)

Replace many references to exit() with returns. (stdpre.h [1.3]: 2001/03/12
03:50:02 ghostgum)

Redirect all user messages from stdout and stderr to outwrite() and
errwrite(). This is needed to allow stdout/err to be redirected to the
caller for DLL / shared object builds. (std.h [1.4]: 2001/03/13 06:51:39
ghostgum)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (stream.c [1.10]: 2001/03/17 01:15:42 raph)

Minor patch to header files so that unlink() prototype doesn't conflict when
const is disabled through #define. (stdio_.h [1.4]: 2001/03/17 01:18:34
raph)

</pre><h2><a name="6.62-Library"></a>Library</h2><pre>

Fixes problems:
	- Minor changes to fix compilation on VMS, thanks to Jacob
=JoukJansen for the patch. (gstrans.c [1.13]: 2001/03/01 22:16:02 raph)
	- gp_file_name_sizeof is increased to 260 bytes, == MAX_PATH on MS
Windows. The platform-specific fix is too difficult because some platforms
may have very long or unlimited file names. Bug #231514 submitted by
anonymous user. (gp.h [1.6]: 2001/03/03 04:38:19 alexcher)
	- When objects were resized or trimmed, the objects o_size was not
being updated if the rounded_size didn't change. This could lead to
alignment issues on some systems (causing a crash). Problem reported by
Artifex customer #460. (gsalloc.c [1.9]: 2001/03/12 00:04:28 rayjj)
	- Some device color components were missed while serializing
halftone to clist, causing segment fault during playback. Changes use proper
number of device color components to be written to clist and read from it.
SourceForge bug #211449. (gxclpath.c [1.9], gxclrast.c [1.9]: 2001/03/13
08:38:03 igorm)
	- kshow now restores currentfont if changed while running proc.
Fixes SourceForge bug #221715. (gxchar.c [1.3]: 2001/03/14 13:03:49 igorm)
	- properly include unistd_.h in files that call unlink()
(gsiodev.c [1.5], gxclfile.c [1.3]: 2001/03/16 22:12:34 giles)
	- /None and /All separations are now supported. SourceForge bug
#228354. (gscsepr.c [1.7]: 2001/03/18 19:17:50 igorm)

Replace many references to exit() with returns. (gsargs.c [1.3],
gsargs.h [1.4], gsexit.h [1.3], gxalloc.h [1.6]: 2001/03/12 03:50:02
ghostgum)

Adds device filter pipeline, which will be used by PDF 1.4 and other
enhanced imaging operations. (gsdfilt.c [1.1], gsdfilt.h [1.1],
gsstate.c [1.10], gzstate.h [1.5]: 2001/03/13 00:41:10 raph)

Redirect all user messages from stdout and stderr to outwrite() and
errwrite(). This is needed to allow stdout/err to be redirected to the
caller for DLL / shared object builds. (gp_unifs.c [1.4], gsargs.c [1.4],
gsinit.c [1.3], gsio.h [1.5], gslib.c [1.4], gsmisc.c [1.10],
gxclutil.c [1.4]: 2001/03/13 06:51:39 ghostgum)

Implement new Ghostscript interpreter API for DLL or shared object.
Reimplement old DLL interface using new API. See iapi.h and iapi.c for new
API. For unix, build using "make so". Added loader programs for Ghostscript
interpreter library for Linux (dxmain.c), Windows (dw*.c) and OS/2
(dpmain.c). Add new "display" device for use with the new API. Linux
dxmain.c uses the "display" device, Gtk+ and GdkRgb for faster drawing than
the "x11" device. (gsexit.h [1.4]: 2001/03/13 07:09:29 ghostgum)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (gs_stdio.h [1.1], gscdef.c [1.12], gscie.c [1.4], gscie.h [1.3],
gsciemap.c [1.5], gscolor.c [1.5], gscolor1.c [1.4], gscscie.c [1.4],
gscspace.h [1.6], gscssub.c [1.3], gsicc.c [1.1], gsicc.h [1.1],
gxcie.h [1.3], gxshade.c [1.5], icc.h [1.1]: 2001/03/17 01:15:42 raph)

Minor patch to header files so that unlink() prototype doesn't conflict when
const is disabled through #define. (unistd_.h [1.2]: 2001/03/17 01:18:34
raph)

Moves patched icclib 1.23 files into the new icclib/ subdirectory, with
makefile changes to match. Adds missing COPYRIGHT and other documentation to
icclib. Thanks to L. Peter Deutsch for pointing out the need. (icc.h [1.2]:
2001/03/19 17:11:15 raph)

</pre><h2><a name="6.62-Other"></a>Other</h2><pre>

Cleanup of MS-Windows and OS/2 code. Remove old 16-bit MS-Windows code.
Remove references to stdout/err, replacing with eprintf(). Remove global
variables. Disable mswindll and os2dll devices if a callback function is not
provided. (gp_mswin.h [1.3]: 2001/03/12 03:56:13 ghostgum)

Implement new Ghostscript interpreter API for DLL or shared object.
Reimplement old DLL interface using new API. See iapi.h and iapi.c for new
API. For unix, build using "make so". Added loader programs for Ghostscript
interpreter library for Linux (dxmain.c), Windows (dw*.c) and OS/2
(dpmain.c). Add new "display" device for use with the new API. Linux
dxmain.c uses the "display" device, Gtk+ and GdkRgb for faster drawing than
the "x11" device. (gp_mswin.h [1.4], gsdll.h [1.3], gsdllwin.h [1.3]:
2001/03/13 07:09:28 ghostgum)

Integrates ICC profile input support from Jan Stoeckenius. Also includes
slightly modified version of icclib (icc.h, icc.c, icc9809.h) by Graeme
Gill. (icc9809.h [1.1]: 2001/03/17 01:15:42 raph)

Moves patched icclib 1.23 files into the new icclib/ subdirectory, with
makefile changes to match. Adds missing COPYRIGHT and other documentation to
icclib. Thanks to L. Peter Deutsch for pointing out the need.
(icc9809.h [1.2], icclib/COPYRIGHT [1.1], icclib/NOTES [1.1],
icclib/README [1.1], icclib/icc.c [1.1], icclib/icc.h [1.1],
icclib/icc9809.h [1.1]: 2001/03/19 17:11:14 raph)

<hr>

<h1><a name="Version6.61"></a>Version 6.61 (2001-02-21)</h1>

<p>
The primary updates in this fileset are in the PDF 1.4 transparency and
blending code (available for testing with the pnga driver). The usual
bug fixes are also present.

<p>
All problems registered on SourceForge numbered 133403 or lower are
closed, except for the following: 101814, 101955, 102735, 106652,
109350, 111449, 113116, 113799, 114084, 115256, 116461, 119676,
119677, 119798, 120967, 121582, 121715, 122534, 122683, 122727,
123005, 123091, 123754, 123896, 123992, 124056, 124095, 124134,
124205, 124863, 124973, 126364, 126391, 126462, 126477, 126584,
126943, 127090, 127190, 127244, 127276, 127382, 127651, 127684,
127709, 127802, 128180, 128354, 128423, 128641, 128714, 128808,
129425, 129439, 130694, 130699, 131001, 131390, 131514, 132334,
132696, 133403.


<h2><a name="6.61-Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- Ps-style.htm was missing from the index/blurbs in Readme.htm Adds
a note about documentation to the "Adding and Removing Files" section, and
moves that section to Maintain.htm from Release.htm. Closes sourceforge bug
#126771 (doc/Maintain.htm [1.9], doc/Readme.htm [1.18],
doc/Release.htm [1.27]: 2001/02/09 01:59:35 giles)

Brings prototypes for fill_path, stroke_path, and fill_trapezoid in sync
with code. New description for fill_trapezoid, as the parameters changed
considerably. (doc/Drivers.htm [1.13]: 2001/01/04 19:08:25 raph)

Adds a link to Adobe's Technote #5407 regarding transparency.
(doc/Language.htm [1.24]: 2001/01/07 18:21:55 giles)

Updates png and zlib urls to the new canonical domain. Patch from Tobias
Burnus. (doc/Devices.htm [1.18], doc/Make.htm [1.20],
doc/New-user.htm [1.18]: 2001/01/07 18:36:35 giles)

Increments CVS version number to 6.61 as part of (very delayed) 6.60 release
process. (doc/News.htm [1.75]: 2001/02/03 01:23:03 raph)

Added DOPDFMARKS to allow pdfmark to be called for annotations, links and
cropboxes for PDF files on any device. Fixes SourceForge bug # 127062.
(doc/Use.htm [1.21]: 2001/02/09 23:38:12 ghostgum)

Added addition comments about how to build GS on am IBM RS6000 under AIX
version 4.3.3 using the IBM C compiler (xlc) version 5.
(doc/Make.htm [1.21]: 2001/02/20 06:09:31 dancoby)

Updates dates and version numbers in preparation for 6.61 release.
(doc/Bug-form.htm [1.14], doc/Bug-info.htm [1.10], doc/C-style.htm [1.11],
doc/Commprod.htm [1.8], doc/Copying.htm [1.6], doc/Current.htm [1.6],
doc/DLL.htm [1.7], doc/Develop.htm [1.32], doc/Devices.htm [1.19],
doc/Drivers.htm [1.14], doc/Fonts.htm [1.12], doc/Helpers.htm [1.9],
doc/History1.htm [1.6], doc/History2.htm [1.6], doc/History3.htm [1.6],
doc/History4.htm [1.6], doc/History5.htm [1.8], doc/History6.htm [1.17],
doc/Htmstyle.htm [1.9], doc/Install.htm [1.14], doc/Language.htm [1.25],
doc/Lib.htm [1.6], doc/Maintain.htm [1.10], doc/Make.htm [1.22],
doc/New-user.htm [1.19], doc/News.htm [1.76], doc/PUBLIC [1.4],
doc/Projects.htm [1.23], doc/Ps-style.htm [1.6], doc/Ps2epsi.htm [1.7],
doc/Ps2pdf.htm [1.24], doc/Psfiles.htm [1.13], doc/README [1.5],
doc/Readme.htm [1.19], doc/Release.htm [1.28], doc/Source.htm [1.6],
doc/Tester.htm [1.6], doc/Unix-lpr.htm [1.6], doc/Use.htm [1.22],
doc/Xfonts.htm [1.6], doc/gs-vms.hlp [1.5], man/dvipdf.1 [1.3],
man/font2c.1 [1.3], man/gs.1 [1.3], man/gslp.1 [1.3], man/gsnd.1 [1.3],
man/pdf2dsc.1 [1.3], man/pdf2ps.1 [1.5], man/pdfopt.1 [1.3],
man/pf2afm.1 [1.3], man/pfbtopfa.1 [1.4], man/printafm.1 [1.3],
man/ps2ascii.1 [1.3], man/ps2epsi.1 [1.3], man/ps2pdf.1 [1.7],
man/ps2pdfwr.1 [1.4], man/ps2ps.1 [1.10], man/wftopfa.1 [1.3]: 2001/02/22
07:30:37 raph)

</pre><h2><a name="6.61-Procedures"></a>Procedures</h2><pre>

Updates png and zlib urls to the new canonical domain. Patch from Tobias
Burnus. (libpng.mak [1.4], zlib.mak [1.3]: 2001/01/07 18:36:35 giles)

First cut of the PDF 1.4 transparency and blending operations.
(contrib.mak [1.21], lib.mak [1.42]: 2001/01/14 00:25:27 raph)

Increments CVS version number to 6.61 as part of (very delayed) 6.60 release
process. (version.mak [1.25]: 2001/02/03 01:23:03 raph)

Continuing development of PDF 1.4 transparency and blending. This round of
commits implements groups, including non-isolated and knockout variants.
Also, moves the build rule for the pnga device from contrib to devs.
(contrib.mak [1.22], devs.mak [1.41]: 2001/02/22 07:27:10 raph)

Updates dates and version numbers in preparation for 6.61 release.
(version.mak [1.26]: 2001/02/22 07:30:39 raph)

</pre><h2><a name="6.61-Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- Temporary _.at file was not deleted. (lib/pdf2ps.bat [1.4]:
2001/02/03 16:12:29 alexcher)
	- Added -dSAFER (lib/pdf2ps.cmd [1.2]: 2001/02/03 18:31:12 alexcher)
	- Defines prototypes for fputs only for (broken) Sun platforms, to
avoid type mismatches when compiling with -Dconst=. Fixes SourceForge bug
133358. (echogs.c [1.3]: 2001/02/22 03:59:39 raph)

branches: 1.1.2; file vdtrace.c was initially added on branch HINTER.
(vdtrace.c [1.1]: 2001/01/12 06:19:36 igorm)

branches: 1.1.2; file _type1.c was initially added on branch HINTER.
(_type1.c [1.1]: 2001/02/02 20:27:09 igorm)

Converted to SAFER mode. (lib/pf2afm [1.2], lib/pf2afm.bat [1.2],
lib/pf2afm.cmd [1.2], lib/pf2afm.ps [1.3]: 2001/02/03 21:31:40 alexcher)

</pre><h2><a name="6.61-Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- Changes tiff12nc to output correct number of bytes for odd widths.
(gdevtfnx.c [1.5]: 2001/02/03 18:50:01 raph)
	- Added down cast from gx_device_printer to gx_device_fax The fix is
suggested by the user. (gdevdfax.c [1.4]: 2001/02/12 21:02:51 alexcher)
	- pswrite ProcSet is reordered to eliminate forward references and
please a simplistic parser used by one of GS customers. (gdevps.c [1.15]:
2001/02/21 05:52:07 alexcher)

First cut of the PDF 1.4 transparency and blending operations.
(gdevpnga.c [1.1]: 2001/01/14 00:25:27 raph)

Continuing development of PDF 1.4 transparency and blending. This round of
commits implements groups, including non-isolated and knockout variants.
Also, moves the build rule for the pnga device from contrib to devs.
(gdevpnga.c [1.2]: 2001/02/22 07:27:10 raph)

</pre><h2><a name="6.61-PDF_writer"></a>PDF writer</h2><pre>

Fixes problems:
	- in pdfwrite mode kshow called its procedure in infinite loop
bacause the character indes was not updated. Unexpected number of calls to
the procedure often caused various errors such as /stackunderfloe.
(gdevpdfs.c [1.2]: 2001/02/06 21:42:38 alexcher)
	- imagemask used the color of previous object if the object had
smaller clipping path than imagemask. Deferred grestore and setcolor were
transposed. (gdevpdfi.c [1.21]: 2001/02/07 03:49:27 alexcher)

</pre><h2><a name="6.61-PDF_Interpreter"></a>PDF Interpreter</h2><pre>

Fixes problems:
	- skip all bytes after the end of the stream in the inline image
until EOL or EI is found. Some buggy PDF files require this. Fix: In PDF 1.3
/Matrix key in XObject is optional. Add unitary matrix to the form
dictionary if XObject has none. (lib/pdf_draw.ps [1.25]: 2001/02/02 22:08:33
alexcher)

Added DOPDFMARKS to allow pdfmark to be called for annotations, links and
cropboxes for PDF files on any device. Fixes SourceForge bug # 127062.
(lib/pdf_main.ps [1.27]: 2001/02/09 23:38:12 ghostgum)

Continuing development of PDF 1.4 transparency and blending. This round of
commits implements groups, including non-isolated and knockout variants.
Also, moves the build rule for the pnga device from contrib to devs.
(lib/pdf_draw.ps [1.26]: 2001/02/22 07:27:10 raph)

</pre><h2><a name="6.61-Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- cvs operator did't report rangecheck when source operand is a name
or string and it's longer than the destination string. Bug # 130975
(iutil.c [1.3]: 2001/02/05 20:43:40 alexcher)
	- memmove() was used without portability header file memory_.h
(ztrans.c [1.13]: 2001/02/13 19:45:38 alexcher)
	- New TransformPQR implements a relative colorimetric intent by
scaling the XYZ values relative to the white and black points. Bug #129771
(lib/gs_lev2.ps [1.7]: 2001/02/21 04:23:44 alexcher)

branches: 1.1.2; file dwtrace.h was initially added on branch HINTER.
(dwtrace.h [1.1]: 2001/01/12 06:18:35 igorm)

branches: 1.1.2; file dwtrace.cpp was initially added on branch HINTER.
(dwtrace.cpp [1.1]: 2001/01/12 06:22:06 igorm)

Increments CVS version number to 6.61 as part of (very delayed) 6.60 release
process. (lib/gs_init.ps [1.29]: 2001/02/03 01:23:03 raph)

</pre><h2><a name="6.61-Streams"></a>Streams</h2><pre>

Minor patches for clean VMS compile. Thanks to Jacob (=Jouk) Jansen.
(stdio_.h [1.3]: 2001/02/02 07:52:26 raph)

</pre><h2><a name="6.61-Library"></a>Library</h2><pre>

Fixes problems:
	- egcc - 2.91.66 generates incorrect code for dda_step_add(dxx4,
dxx4); Using the intermediate variable now to wark around the problem. This
bug corrupted memory block headers and caused random crashes.
(gxifast.c [1.3]: 2001/01/25 21:36:17 alexcher)

Changes gx_image_cached_char so that it now images to the device in the text
enumeration, rather than the current device. This change gives more
flexibility for implementations of begin_text to interpose a device of their
own for actual imaging. (gxccache.c [1.3]: 2001/01/04 19:39:24 raph)

Updates documentation in gxdevcli.h on creating device instances.
(gxdevcli.h [1.4]: 2001/01/14 00:24:30 raph)

First cut of the PDF 1.4 transparency and blending operations.
(gxblend.c [1.1], gxblend.h [1.1]: 2001/01/14 00:25:27 raph)

Minor patches for clean VMS compile. Thanks to Jacob (=Jouk) Jansen.
(gsnogc.c [1.6], gxblend.c [1.2]: 2001/02/02 07:52:25 raph)

Continuing development of PDF 1.4 transparency and blending. This round of
commits implements groups, including non-isolated and knockout variants.
Also, moves the build rule for the pnga device from contrib to devs.
(gstrans.c [1.12], gxdevcli.h [1.5]: 2001/02/22 07:27:10 raph)

</pre><h2><a name="6.61-Other"></a>Other</h2><pre>

branches: 1.1.2; file _type1.h was initially added on branch HINTER.
(_type1.h [1.1]: 2001/01/12 06:22:23 igorm)

branches: 1.1.2; file vdtrace.h was initially added on branch HINTER.
(vdtrace.h [1.1]: 2001/02/02 20:27:09 igorm)

<hr>

<h1><a name="Version6.60"></a>Version 6.60 (2000-12-31)</h1>

<p>
This long-overdue fileset includes major new developer documentation, major
improvements in the PDF writer (for embedded fonts and for DSC comments),
and lots of bug fixes.  Unfortunately, for unknown reasons, the release
"smoke test" loops forever on the file data/ps/screen.ps -- but only when
compiled in 'production' mode, not in 'debug' mode.  We suspect a gcc bug,
but don't have the time to track it down before the end of the millennium.

<p>
All problems registered on SourceForge numbered 127190 or lower are closed,
except for the following: 101814, 101955, 102735, 105289, 106652, 109350,
111449, 113116, 113799, 114084, 115256, 116461, 117260, 119676, 119677,
119798, 120967, 121582, 121715, 122426, 122532, 122534, 122683, 122727,
123005, 123091, 123702, 123754, 123867, 123896, 123992, 124042, 124056,
124095, 124134, 124205, 124863, 124973, 126364, 126391, 126462, 126477,
126506, 126584, 126771, 126943, 127062, 127090, 127190.

<h3><a name="6.60_Incompatible_changes"></a>Incompatible changes</h3>

<pre>
(Interpreter)
	- With WMode = 1, CID-keyed fonts with no Metrics2 now use default
metrics computed from FontBBox rather than the horizontal metrics.
(PDF interpreter)
	- The interpreter now skips to the next EOL after reading the data
following the ID operator.
	- The incorrectly named ViewerOrientation DSC comment is now
corrected to ViewingOrientation.
(Streams)
	- All decoding filters that recognize an EOD in the source data
must now have an init procedure that sets state->min_left = 1.
(Library)
	- The glyph_data, subr_data, and seac_data procedures in a Type 1
font (gs_type1_data_procs), and the glyph_data procedure passed to
psf_{check,get}_outline_glyphs, must now return 1 iff the outline string was
newly allocated and should be freed by the caller, like the get_outline
procedure of Type 42 fonts (gs_type42_data).
	- The ip_state structure is renamed ip_state_t, and has a new
member, free_char_string.
	- The incorrectly named ViewerOrientation DSC comment is now
corrected to ViewingOrientation, and the viewer_orientation members of
the DSC parsing structure are corrected to viewing_orientation.



<h2><a name="6.60-Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- An isolated ampersand needed to be converted to the HTML form.
(doc/Bug-form.htm [1.12]: 2000/11/04 17:53:57 lpd)
	- cvs2hist was generating invalid anchor names and not escaping
special charaters. also enable '-r' commandline option, and pass '-b' if
it's not specified for default branch logs only. Changes.htm now passes the
validator. Minor url cleanup in Release.htm (doc/Changes.htm [1.19],
doc/Release.htm [1.23]: 2000/11/10 01:52:35 giles)
	- Removes obsolete documentation reference to -DUsePrinterImages and
clarifies the entry for the replacing -DPrinted. Fixes sourceforge bug #
121907. (doc/Use.htm [1.16]: 2000/11/20 20:34:23 giles)
	- Type 1 CharStrings loaded from disk for type 0 CIDFonts were never
freed, except by garbage collection (which doesn't reclaim chunks with only
a small amount of surviving data). In practice, this probably only affects
the PDF writer. (doc/News.htm [1.71]: 2000/11/23 23:34:23 lpd)
	- The pswrite device couldn't write to pipes. The fix involved
expanding the API for opening device OutputFiles so that the individual
driver could specify whether it required, requested, or did not want a
positionable file. Fixes SourceForge bug # 122223. (doc/Use.htm [1.17]:
2000/11/29 02:25:13 lpd)
	- The default ps2pdf "distiller parameters" weren't documented
correctly; the parameter values for the other PDFSETTINGS (screen, printer,
prepress) weren't documented at all; the xxxImageDownsampleThreshold
parameters were incorrectly documented as xxxDownsampleThreshold.
(doc/Ps2pdf.htm [1.22]: 2000/12/19 17:55:55 lpd)
	- The documentation of the -dSAFER command line switch was
inaccurate. (doc/Use.htm [1.18]: 2000/12/23 01:33:06 lpd)
	- documentation for gs_cidcm.ps and gs_dscp.ps was missing.
(doc/Psfiles.htm [1.11]: 2000/12/29 02:17:12 lpd)

Adds developer documentation on the color mapping pipeline.
(doc/Develop.htm [1.16]: 2000/11/03 04:53:00 lpd)

switch to Tobias Burnus' stylesheet for the B-D html documentation, along
with some minor cleanups (doc/Bug-form.htm [1.10], doc/Bug-info.htm [1.8],
doc/C-style.htm [1.6], doc/Commprod.htm [1.4], doc/Copying.htm [1.4],
doc/Current.htm [1.4], doc/DLL.htm [1.4], doc/Develop.htm [1.17],
doc/Devices.htm [1.14], doc/Drivers.htm [1.10], doc/gs.css [1.1]: 2000/11/03
06:42:42 giles)

update remaining file links in Develop.htm to &lt;dl&gt; format, plus
additional cleanup (doc/Commprod.htm [1.5], doc/DLL.htm [1.5],
doc/Develop.htm [1.18], doc/Devices.htm [1.15], doc/Drivers.htm [1.11]:
2000/11/03 20:15:55 giles)

Lists all the monochrome TIFF drivers individually, rather than as a class.
(doc/Devices.htm [1.16]: 2000/11/03 23:33:18 lpd)

Switches the rest of the human-maintained html documentation to the new
stylesheet. We now pass validator.w3.org for HTML 4.01 with the exception of
an error I couldn't figure out in Bug-form.htm. (doc/Bug-form.htm [1.11],
doc/Fonts.htm [1.9], doc/Helpers.htm [1.7], doc/Hershey.htm [1.3],
doc/Htmstyle.htm [1.7], doc/Humor.htm [1.2], doc/Install.htm [1.10],
doc/Language.htm [1.21], doc/Lib.htm [1.4], doc/Maintain.htm [1.7],
doc/Make.htm [1.17], doc/New-user.htm [1.15], doc/Projects.htm [1.20],
doc/Ps-style.htm [1.4], doc/Ps2epsi.htm [1.5], doc/Ps2pdf.htm [1.19],
doc/Psfiles.htm [1.10], doc/Public.htm [1.4], doc/Readme.htm [1.15],
doc/Release.htm [1.22], doc/Source.htm [1.4], doc/Tester.htm [1.4],
doc/Unix-lpr.htm [1.4], doc/Use.htm [1.15], doc/Xfonts.htm [1.4],
doc/index.html [1.2]: 2000/11/04 05:00:00 giles)

updated News.htm to use gs.css (doc/News.htm [1.70]: 2000/11/04 21:59:35
giles)

Adds documentation on Ghostscript's object-oriented coding conventions, and
more documentation on error generation. (doc/C-style.htm [1.7],
doc/Develop.htm [1.19]: 2000/11/07 07:34:57 lpd)

Expands the description of the color mapping process.
(doc/Develop.htm [1.20]: 2000/11/09 05:41:46 lpd)

updates history files 1-4 (historical) to valid html4 and the new stylesheet
(doc/History1.htm [1.4], doc/History2.htm [1.4], doc/History3.htm [1.4],
doc/History4.htm [1.4]: 2000/11/28 22:55:34 giles)

updates the version 5.x history file to the conforming html4
(doc/History5.htm [1.6]: 2000/12/01 00:47:08 giles)

Adds documentation on creating a release directory on the Wisconsin server,
including checking the version numbers of the third-party libraries.
(doc/Release.htm [1.24]: 2000/12/05 21:16:25 lpd)

Updates documentation to reflect recent improvements in text and DSC comment
handling. (doc/Ps2pdf.htm [1.20]: 2000/12/09 08:01:56 lpd)

Documents the change from ViewerOrientation to ViewingOrientation in the DSC
parser. (doc/News.htm [1.72]: 2000/12/09 19:53:48 lpd)

Makes the PDF writer extract orientation and bounding box information from
DSC comments, if present. The orientation is used to set Rotate if
AutoRotatePages is not selected; the bounding box is not yet used for
anything. (doc/Ps2pdf.htm [1.21]: 2000/12/09 19:54:55 lpd)

adds a brief blurb for Develop.htm (doc/Readme.htm [1.16]: 2000/12/11
19:39:36 giles)

In the developer documentation, breaks down several long file lists into
shorter, more focused ones. (doc/Develop.htm [1.21]: 2000/12/12 19:52:49
lpd)

Adds some additional documentation on halftones. (doc/Develop.htm [1.22]:
2000/12/15 01:46:57 lpd)

Adds additional documentation on makefile conventions, and improves a few
other areas. (doc/Develop.htm [1.23]: 2000/12/18 06:45:23 lpd)

Adds more documentation on makefiles, .dev files, and related topics.
(doc/Develop.htm [1.24]: 2000/12/20 05:09:31 lpd)

Adds more developer documentation on the PostScript interpreter; divides up
some lists of files to provide more helpful detail. (doc/Develop.htm [1.25]:
2000/12/20 20:15:41 lpd)

Documents the preferred line breaking and indentation format for assignment
statements, including chain assignments. (doc/C-style.htm [1.8]: 2000/12/22
16:58:55 lpd)

Makes some minor corrections and improvements to the developer
documentation. (doc/Develop.htm [1.26]: 2000/12/28 05:57:18 lpd)

Adds substantial new material on coding conventions for structures, classes,
and subclasses. (doc/C-style.htm [1.9]: 2000/12/28 07:12:38 lpd)

Documents about 15 additional non-standard operators (the ones most likely
to be used in future code). (doc/Develop.htm [1.27],
doc/Language.htm [1.22]: 2000/12/28 18:29:49 lpd)

Documents the need to run hrefcov as part of the release process; also fixes
some minor inaccuracies. (doc/Release.htm [1.25]: 2000/12/29 02:12:08 lpd)

Adds more files to the developer "roadmap" documentation.
(doc/Develop.htm [1.28]: 2000/12/29 02:18:47 lpd)

Adds the Fontmaps and the contributed drivers to the developer documentation
"roadmap", which is now complete. (doc/Develop.htm [1.29]: 2000/12/29
02:33:40 lpd)

Adds some developer documentation on design principles.
(doc/Develop.htm [1.30]: 2000/12/30 22:07:37 lpd)

Removes or updates no longer appropriate references to Aladdin Enterprises.
(doc/Commprod.htm [1.6], doc/Fonts.htm [1.10], doc/Install.htm [1.11],
doc/Make.htm [1.18], doc/New-user.htm [1.16], doc/Projects.htm [1.21],
doc/Use.htm [1.19]: 2000/12/31 21:43:59 lpd)

Updates documentation for the Windows uninstall program to reflect the name
change from Aladdin Ghostscript to AFPL Ghostscript.
(doc/Install.htm [1.12]: 2000/12/31 22:26:08 lpd)

Updates repository for 6.60 release. (doc/Bug-form.htm [1.13],
doc/Bug-info.htm [1.9], doc/C-style.htm [1.10], doc/Commprod.htm [1.7],
doc/Copying.htm [1.5], doc/Current.htm [1.5], doc/DLL.htm [1.6],
doc/Develop.htm [1.31], doc/Devices.htm [1.17], doc/Drivers.htm [1.12],
doc/Fonts.htm [1.11], doc/Helpers.htm [1.8], doc/History1.htm [1.5],
doc/History2.htm [1.5], doc/History3.htm [1.5], doc/History4.htm [1.5],
doc/History5.htm [1.7], doc/History6.htm [1.15], doc/Htmstyle.htm [1.8],
doc/Install.htm [1.13], doc/Language.htm [1.23], doc/Lib.htm [1.5],
doc/Maintain.htm [1.8], doc/Make.htm [1.19], doc/New-user.htm [1.17],
doc/News.htm [1.73], doc/Projects.htm [1.22], doc/Ps-style.htm [1.5],
doc/Ps2epsi.htm [1.6], doc/Ps2pdf.htm [1.23], doc/Psfiles.htm [1.12],
doc/Readme.htm [1.17], doc/Release.htm [1.26], doc/Source.htm [1.5],
doc/Tester.htm [1.5], doc/Unix-lpr.htm [1.5], doc/Use.htm [1.20],
doc/Xfonts.htm [1.5], doc/gs-vms.hlp [1.4], man/dvipdf.1 [1.2],
man/eps2eps.1 [1.3], man/font2c.1 [1.2], man/gs.1 [1.2], man/gslp.1 [1.2],
man/gsnd.1 [1.2], man/pdf2dsc.1 [1.2], man/pdf2ps.1 [1.4],
man/pdfopt.1 [1.2], man/pf2afm.1 [1.2], man/pfbtopfa.1 [1.3],
man/printafm.1 [1.2], man/ps2ascii.1 [1.2], man/ps2epsi.1 [1.2],
man/ps2pdf.1 [1.6], man/ps2pdfwr.1 [1.3], man/ps2ps.1 [1.9],
man/wftopfa.1 [1.2]: 2001/01/01 00:24:05 lpd)

</pre><h2><a name="6.60-Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- cvs2hist was generating invalid anchor names and not escaping
special charaters. also enable '-r' commandline option, and pass '-b' if
it's not specified for default branch logs only. Changes.htm now passes the
validator. Minor url cleanup in Release.htm (toolbin/cvs2hist.py [1.4]:
2000/11/10 01:52:35 giles)
	- The OS/2 platform code would no longer compile, because the stdio
files are no longer available. (fix from rjl) (os2.mak [1.9]: 2000/12/05
01:16:26 lpd)
	- Embedded font subsets always used similar sequences of prefixes,
making it likely that combining multiple PDF files would lead to clashes;
the code now generates truly random prefixes, using an external source of
random data. (devs.mak [1.39]: 2000/12/10 00:12:23 lpd)
	- Fixes a couple of dependency lists that had gotten out of sync.
(devs.mak [1.40]: 2000/12/10 00:17:51 lpd)
	- Seek was broken and PDF interpreter failed when
FILE_IMPLEMENTATION=fd The implementation of streams using direct OS calls
is extended to support MSVC &amp;&amp; Win32. close_.h is replaced by more
general unistd_.h (lib.mak [1.40]: 2000/12/19 03:35:40 alexcher)
	- In the previous fix unistd__h was misspelt as unistd_h .
(lib.mak [1.41]: 2000/12/19 05:35:53 alexcher)
	- The recent change for localized man pages didn't update 2 of the 3
top-level Unix makefiles. (unixansi.mak [1.7], unixtrad.mak [1.7]:
2000/12/23 16:29:53 lpd)
	- The list of doc files to be installed had gotten out of date
(Develop.htm, Maintain.htm, and Ps-style.htm were missing).
(unixinst.mak [1.16]: 2000/12/23 16:30:36 lpd)
	- unixinst.mak was checked in with the previous fix only partly
done. (unixinst.mak [1.17]: 2000/12/23 16:34:12 lpd)

Collect some stray configuration related externs into iconf.h
(int.mak [1.40]: 2000/11/04 06:12:02 rayjj)

Adds DSC parsing capability to the PostScript interpreter, with an optional
'feature' to use the DSC Orientation comments to compensate for sloppy
PostScript producers that don't emit an appropriate setpagedevice command.
(int.mak [1.41]: 2000/11/05 18:33:53 lpd)

Adds the 'hook' for passing DSC comments to the PDF writer, but doesn't
actually process any of the comments. NOTE: Part of this code was
accidentally included in the recent fix for local/global VM problems in the
PostScript code for using the DSC parser. (devs.mak [1.36]: 2000/11/07
18:54:26 lpd)

Reorganizes some text-writing code in anticipation of adding CIDFont and
CMap support. (devs.mak [1.37]: 2000/11/17 22:11:44 lpd)

Avoids exporting empty LD_RUN_PATH environment variable to the link process.
This was causing binaries to search the current directory for libraries,
which was a security hole. Fixes SourceForge bug 122532. (ugcclib.mak [1.6],
unixlink.mak [1.3]: 2000/11/28 00:14:48 raph)

Updates the date and version checker for compatibility with the newest
documentation standards; also makes it check the makefile values of JVERSION
and PVERSION against the currently installed third-party source code.
(toolbin/pre [1.9]: 2000/12/05 21:14:14 lpd)

Extensively revises and updates the pdfwrite text handling code to support
processing and embedding of all types of fonts (except for Type 3 and
CIDFontType 1, which are defined by PostScript procedures), and all variants
of 'show' (including kshow and glyphshow). In particular, Type 0 fonts with
all FMapTypes (including CMap-based), CIDFontType 0 and 2 fonts, and both
standard and non-standard CMaps are supported. (devs.mak [1.38],
int.mak [1.42], lib.mak [1.38]: 2000/12/08 23:35:37 lpd)

removes a spurious import of the cgi module (toolbin/cvs2hist.py [1.5]:
2000/12/11 19:40:23 giles)

Splits off the code for downsampling an oversampled character bitmap into a
separate file. (lib.mak [1.39]: 2000/12/14 00:14:52 lpd)

Adds a '-t' option to enable text output rather than html, replacing the old
behavior, which was to return text unless a version string was passed with
'-v'. The version string is now set to 'CVS' if no explicit version is
passed, and this is used in the named anchors within the html output.
(toolbin/cvs2hist.py [1.6]: 2000/12/23 09:38:10 giles)

Adds support for localized manpages to the make 'install' target. On unix
the makefile will now intall any files with the $MAN1EXT extension it finds
under locale subdirs of the man directory that are listed in the MAN_LCDIRS
variable. The $man1dir is correspondingly removed from unix-gcc.mak. Also
adds separate targets: install-doc install-man install-examples
install-libdata (unix-gcc.mak [1.9], unixinst.mak [1.15]: 2000/12/23
10:10:37 giles)

Improves the set of files checked by hrefcov +lib.
(toolbin/hrefcov.tcl [1.5]: 2000/12/29 02:16:13 lpd)

Adds a script for batch-converting PostScript files to PDF, intended to be
useful for testing. (toolbin/many2pdf.tcl [1.1]: 2000/12/31 22:28:09 lpd)

Updates repository for 6.60 release. (toolbin/pre [1.10],
version.mak [1.24]: 2001/01/01 00:24:06 lpd)

</pre><h2><a name="6.60-Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- pdfopt.ps used the "unresolved?" procedure from pdf_base.ps, which
has been replaced by the slightly different "resolved?" procedure.
(lib/pdfopt.ps [1.4]: 2000/12/01 04:15:52 lpd)
	- The OS/2 platform code would no longer compile, because the stdio
files are no longer available. (fix from rjl) (gp_os2.c [1.5]: 2000/12/05
01:16:26 lpd)
	- File flush method uses file member in stream. On Windows and OS/2
it is NULL for %stdout or %stderr. So the standard flush method is
installed. (gp_msio.c [1.3], gp_os2.c [1.6]: 2000/12/19 03:44:24 alexcher)
	- /NullEncode filter no longer supports fileposition. Replacing
fileposition with .fileposition (lib/impath.ps [1.3]: 2000/12/28 17:06:07
alexcher)
	- _.at file was not deleted in BAT file; SAFER option added to CMD
file. (lib/eps2eps.bat [1.4], lib/eps2eps.cmd [1.2]: 2000/12/30 18:45:37
alexcher)

Improves documentation of cid2code.ps by adding a complete usage example.
(lib/cid2code.ps [1.3]: 2000/11/30 18:22:11 lpd)

Adds extensive documentation to genconf.c; also brings it into line with
current Ghostscript coding standards. (genconf.c [1.4]: 2000/12/20 04:20:34
lpd)

Safe mode implemented using DELAYSAFER flag. (lib/pdf2dsc [1.3],
lib/pdf2dsc.bat [1.1], lib/pdf2dsc.ps [1.3]: 2000/12/29 05:03:49 alexcher)

</pre><h2><a name="6.60-Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- In PDF output, color values of 1.0 were usually written as 0.999.
(bug introduced in version 6.22) (gdevpsdu.c [1.8]: 2000/11/12 07:13:26 lpd)
	- The pswrite device couldn't write to pipes. The fix involved
expanding the API for opening device OutputFiles so that the individual
driver could specify whether it required, requested, or did not want a
positionable file. Fixes SourceForge bug # 122223. (gdevps.c [1.13],
gdevpx.c [1.5]: 2000/11/29 02:25:13 lpd)
	- Invalid (uninitialized) StripByteCount was being left in file for
the tiff12nc and tiff24nc devices. Needed to call gdev_tiff_end_strip().
(gdevtfnx.c [1.4]: 2000/12/15 06:09:27 rayjj)
	- Fixes bug introduced in gdevxini.c revision 1.5. Don't overwrite
the pixmap handle provided in the GHOSTVIEW environment variable.
(gdevxini.c [1.10]: 2000/12/15 10:18:47 ghostgum)
	- The pswrite device produced an extra page if the transfer function
didn't map "1 setgray" to device white. (gdevps.c [1.14]: 2000/12/21
03:58:54 lpd)

</pre><h2><a name="6.60-PDF_writer"></a>PDF writer</h2><pre>

Fixes problems:
	- kshow caused the PDF writer to revert to bitmapped fonts. Fixes
SourceForge bug # 104118. (gdevpdft.c [1.21]: 2000/11/06 04:17:14 lpd)
	- The PDF writer didn't handle stroked fonts correctly (they were
filled instead of stroked). (gdevpdf.c [1.23], gdevpdfd.c [1.11],
gdevpdft.c [1.22], gdevpdfx.h [1.23]: 2000/11/12 06:52:08 lpd)
	- When mixing filled and stroked fonts, the color wasn't set
correctly. (gdevpdft.c [1.23]: 2000/11/12 07:14:30 lpd)
	- The PDF writer incorrectly assumed that in PDF 1.3, the standard
Latin character set was the PostScript 3 extended set (it's actually the old
PostScript Level 2 set). (gdevpdft.c [1.28]: 2000/11/20 18:13:55 lpd)
	- Embedded CIDFontType 2 fonts had an incorrect BoundingBox.
(gdevpdff.c [1.14]: 2000/12/09 06:53:25 lpd)
	- Embedded font subsets always used similar sequences of prefixes,
making it likely that combining multiple PDF files would lead to clashes;
the code now generates truly random prefixes, using an external source of
random data. (gdevpdf.c [1.26], gdevpdfe.c [1.8], gdevpdff.c [1.15],
gdevpdff.h [1.9], gdevpdfx.h [1.27]: 2000/12/10 00:12:23 lpd)
	- Non-embedded Multiple Master instances weren't identified as such
(font Subtype = /MMType1). (gdevpdfw.c [1.7]: 2000/12/11 08:52:01 lpd)
	- pdfwrite would crash if a bitmap character was larger than 10Kb
(compressed). The fix simply raises the limit to 1 Mb. (gdevpdft.c [1.30]:
2000/12/13 01:33:37 lpd)
	- When processing DSC comments, some constant strings weren't copied
to the heap, possibly causing memory access errors. (gdevpdfp.c [1.16]:
2000/12/16 07:02:35 lpd)
	- If the same standard (base 14) font was loaded more than once
(because of save/restore), the PDF file could contain fonts that had
suffixed names (e.g., Helvetica~2) but with data missing as though they were
standard fonts, upsetting Acrobat Reader. Fixes SourceForge bug # 101905.
THIS FIX IS IN A VERY FRAGILE AREA AND MAY INTRODUCE NEW PROBLEMS.
(gdevpdff.c [1.16]: 2000/12/16 08:00:53 lpd)
	- The previous fix for copying DSC comment keys to the heap was
unnecessarily complex. (gdevpdfp.c [1.17]: 2000/12/16 19:28:51 lpd)
	- Resource usage wasn't tracked separately for Form XObjects (BP/EP
pdfmarks), producing non-compliant files that caused errors from Acrobat.
Fixes SourceForge bug # 102146. (gdevpdf.c [1.28], gdevpdff.c [1.17],
gdevpdff.h [1.10], gdevpdfm.c [1.8], gdevpdfo.c [1.6], gdevpdfo.h [1.6],
gdevpdft.c [1.31], gdevpdfu.c [1.14], gdevpdfw.c [1.8], gdevpdfx.h [1.28]:
2000/12/16 19:36:32 lpd)
	- Strict type correctness is required on VMS system. Contributed by
Jouk Jansen joukj@hrem.stm.tudelft.nl (gdevpdfw.c [1.9]: 2000/12/18 21:58:03
alexcher)

Adds the 'hook' for passing DSC comments to the PDF writer, but doesn't
actually process any of the comments. NOTE: Part of this code was
accidentally included in the recent fix for local/global VM problems in the
PostScript code for using the DSC parser. (gdevpdfp.c [1.13]: 2000/11/07
18:54:26 lpd)

Changes the internal indication of whether to allow font subsetting from a
Boolean to OK, YES, NO. (Unfortunately, I no longer remember why this change
is needed.) (gdevpdfe.c [1.6], gdevpdff.c [1.10], gdevpdff.h [1.5],
gdevpdft.c [1.24]: 2000/11/14 06:57:21 lpd)

When writing PDF output, adds the ability to convert text in Type 0 fonts to
text in the descendant leaf fonts. This completes the handling of text
output except for CID-keyed fonts. (gdevpdft.c [1.25]: 2000/11/14 16:47:09
lpd)

Reorganizes some text-writing code in anticipation of adding CIDFont and
CMap support. (gdevpdff.c [1.11], gdevpdff.h [1.6], gdevpdft.c [1.26]:
2000/11/17 22:11:44 lpd)

Makes glyphshow no longer revert to bitmapped fonts. Also adds a CIDFont
pseudo-resource, in anticipation of adding CID-keyed font support.
(gdevpdff.c [1.12], gdevpdff.h [1.7], gdevpdft.c [1.27], gdevpdfx.h [1.24]:
2000/11/20 08:31:20 lpd)

Extensively revises and updates the pdfwrite text handling code to support
processing and embedding of all types of fonts (except for Type 3 and
CIDFontType 1, which are defined by PostScript procedures), and all variants
of 'show' (including kshow and glyphshow). In particular, Type 0 fonts with
all FMapTypes (including CMap-based), CIDFontType 0 and 2 fonts, and both
standard and non-standard CMaps are supported. (gdevpdf.c [1.24],
gdevpdfe.c [1.7], gdevpdff.c [1.13], gdevpdff.h [1.8], gdevpdfs.c [1.1],
gdevpdft.c [1.29], gdevpdfu.c [1.13], gdevpdfw.c [1.6], gdevpdfx.h [1.25]:
2000/12/08 23:35:38 lpd)

If ParseDSCCommentsForDocInfo is set to true, copies information from DSC
comments Creator, CreationDate, For, and Title into the output's Info
dictionary. (gdevpdfp.c [1.14]: 2000/12/09 07:49:22 lpd)

Makes the PDF writer extract orientation and bounding box information from
DSC comments, if present. The orientation is used to set Rotate if
AutoRotatePages is not selected; the bounding box is not yet used for
anything. (gdevpdf.c [1.25], gdevpdfp.c [1.15], gdevpdfx.h [1.26]:
2000/12/09 19:54:54 lpd)

Slightly changes the initialization of the random offset for font subset
prefixes, to work better with low-resolution clocks such as those typical on
PCs. (gdevpdf.c [1.27]: 2000/12/16 19:31:10 lpd)

</pre><h2><a name="6.60-PDF_Interpreter"></a>PDF Interpreter</h2><pre>

Fixes problems:
	- Type 0 fonts with a non-standard (embedded) CMap didn't work at
all. (lib/pdf_font.ps [1.15]: 2000/12/02 20:41:52 lpd)
	- The PDF interpreter ignored the CIDToGIDMap entry in (embedded)
CIDFontType 2 fonts, producing incorrect output if the map wasn't /Identity.
(lib/pdf_font.ps [1.16]: 2000/12/07 23:41:10 lpd)
	- GS didn't dereference indirect objects in Widths array.
(lib/pdf_font.ps [1.17]: 2000/12/17 19:06:19 alexcher)
	- Fixes a slight oversight in the true/false/null improvement for
the PDF interpreter. (lib/pdf_base.ps [1.12]: 2000/12/26 04:10:12 lpd)
	- When a non-TrueType font was substituted for a TrueType font, the
Encoding in the font descriptor was ignored. This hack was intended to fix
SF bug # 104702, an invalid PDF file, but it broke another case. Removal of
the hack makes GS render both cases similar to AR 4.
(lib/pdf_font.ps [1.18]: 2000/12/26 04:29:30 alexcher)
	- The PDF interpreter didn't rotate the CropBox for landscape pages,
producing incorrect output if the input of ps2pdf was a landscape PDF file.
(lib/pdf_main.ps [1.26]: 2000/12/31 01:07:18 lpd)

Improves font substitution by taking the "Narrow" property into account.
Fixes SourceForge bug 116460. Fix due to Leon Bottou.
(lib/pdf_font.ps [1.13]: 2000/11/05 17:36:28 raph)

Wraps the showpagecontents call in gsave/grestore, so that the graphics
state for drawing annotations is pristine. Fixes Sourceforge bug 123310.
(lib/pdf_main.ps [1.23]: 2000/11/25 22:00:21 raph)

The published PDF specification says the Encoding name "must be" one of the
3 predefined Encodings, implying that an error should occur if it isn't.
However, Acrobat Reader simply ignores unknown names, and since there are
some buggy applications that rely on this, we do the same.
(lib/pdf_font.ps [1.14]: 2000/11/28 18:55:24 alexcher)

The PDF specification says that the 'xref' must be on a line by itself. The
code formerly used readline and linene to check this. However, Acrobat
Reader only requires the line to begin with 'xref', and there are enough
applications producing non-compliant PDF files that we have to do this too.
(lib/pdf_main.ps [1.24]: 2000/12/18 03:41:35 alexcher)

AI8 writes bogus encoding array [0 1 0 0 0 0 0 0] AR doesn't care. So we
have to straighten it up here. (lib/pdf_draw.ps [1.24]: 2000/12/20 19:02:24
alexcher)

Makes the PDF interpreter handle true, false, and null specially, rather
than by dictionary lookup, so that the PostScript interpreter can still
process these names using the special fast case for names defined only in
systemdict. (lib/pdf_base.ps [1.11], lib/pdf_main.ps [1.25]: 2000/12/26
04:08:44 lpd)

</pre><h2><a name="6.60-Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- The recently updated code for activating the DSC comment parser
had several local/global VM problems, causing invalidaccess errors.
(lib/gs_dps2.ps [1.3], lib/gs_init.ps [1.27], lib/gs_pdfwr.ps [1.7]:
2000/11/07 18:51:24 lpd)
	- There was still a bug in the code for passing DSC comments to the
PDF writer, causing typecheck errors. (lib/gs_pdfwr.ps [1.8]: 2000/11/07
19:27:14 lpd)
	- If the procedure of a FunctionType 4 Function was syntactically
valid but exceeded the maximum stack depth, an attempt was made to free a
string as an object, causing memory corruption. (zfunc4.c [1.6]: 2000/11/11
17:34:06 lpd)
	- Disk-based TrueType fonts caused a memory leak. (Currently, there
are no such fonts, but CIDFontType 2 fonts, and directly-accessed TrueType
fonts, should be made disk-based.) (zfcid1.c [1.4]: 2000/11/22 08:32:07 lpd)
	- Type 1 CharStrings loaded from disk for type 0 CIDFonts were never
freed, except by garbage collection (which doesn't reclaim chunks with only
a small amount of surviving data). In practice, this probably only affects
the PDF writer. (zfcid0.c [1.5]: 2000/11/23 23:34:22 lpd)
	- Single-byte notdef ranges in CMaps incorrectly incremented the CID
number, rather than assigning the same CID to all characters in the range.
(lib/gs_cmap.ps [1.9]: 2000/11/29 06:58:36 lpd)
	- In dictionaries, an int lookup key sometimes didn't match a real
stored key, and vice versa. Fixes SourceForge bug # 123678. (idict.c [1.3]:
2000/11/30 07:13:08 lpd)
	- Further tweaking of the logic to clear end_status flags in a
pipeline in the continuation of a procedure write, making it more aggressive
than the previous fix, but less aggressive than the original code. This is a
revised fix for Sourceforge bug 119777. (zfproc.c [1.7]: 2000/12/02 19:58:45
raph)
	- 'gstate' was allowed in global VM even if the current graphics
state included references to structures in local VM (which is, in fact,
normally the case) and the save level was non-zero: this could create a
dangling pointer after the 'restore'. This "fix" is a workaround that simply
prohibits doing this, but a correct fix would copy any such structures.
(zdps1.c [1.3]: 2000/12/02 20:39:37 lpd)
	- The first call of check_psc_function in gs_build_function_4 didn't
initialize size to 0, causing the computed value of size to be garbage,
possibly leading to a VMerror or memory corruption. (zfunc4.c [1.7]:
2000/12/03 16:56:31 alexcher)
	- The font_info procedure for PostScript fonts other than Type 1
didn't return information from the FontInfo dictionary (Copyright,
FamilyName, FullName, Notice), causing this information to be omitted when
embedding the font in a PDF file. (ifont.h [1.6], zbfont.c [1.7],
zfont.c [1.3], zfont1.c [1.9]: 2000/12/03 23:35:30 lpd)
	- The %%ViewingOrientation: DSC comment was misspelled
%%ViewerOrientation:. This also corrects the CDSC_VIEWINGORIENTATION enum
value (formerly CDSC_VIEWERORIENTATION, and the viewing_orientation members
of the CDSCPAGE structure and the CDSC structure (formerly
viewer_orientation). (dscparse.c [1.3], dscparse.h [1.3], zdscpars.c [1.8]:
2000/12/09 18:28:23 lpd)
	- Unitialized member of CDSCPAGE caused random crashes.
(dscparse.c [1.4]: 2000/12/13 07:18:46 alexcher)
	- systemdict was being created too small for LanguageLevel 3
systems. (It expanded properly, but left a sandbar.) (iinit.c [1.3]:
2000/12/26 04:25:54 lpd)
	- Expanding a permanent dictionary (systemdict or userdict)
destroyed the single-definition bookkeeping for names defined in that
dictionary, slowing down subsequent interpretation. (idict.c [1.4]:
2000/12/26 06:09:58 lpd)
	- Fix to dscparse.c for parsing DOS EPS files. Code now looks for
%!PS-Adobe- at the start of the PostScript section, not at the start of the
DOS EPS header. (dscparse.c [1.5]: 2000/12/28 01:45:01 ghostgum)

Collect some stray configuration related externs into iconf.h
(imain.c [1.3], imainarg.c [1.5]: 2000/11/04 06:12:02 rayjj)

branches: 1.1.2; Collect some stray configuration related externs into
iconf.h (iconf.h [1.1]: 2000/11/04 06:12:02 rayjj)

Add COMPILE_INITS information line to -h help output. (imainarg.c [1.6]:
2000/11/04 06:13:42 rayjj)

Adds DSC parsing capability to the PostScript interpreter, with an optional
'feature' to use the DSC Orientation comments to compensate for sloppy
PostScript producers that don't emit an appropriate setpagedevice command.
(lib/gs_dscp.ps [1.1], zdscpars.c [1.1]: 2000/11/05 18:33:52 lpd)

branches: 1.1.2; Adds DSC parsing capability to the PostScript interpreter,
with an optional 'feature' to use the DSC Orientation comments to compensate
for sloppy PostScript producers that don't emit an appropriate setpagedevice
command. (dscparse.c [1.1], dscparse.h [1.1]: 2000/11/05 18:33:53 lpd)

Polishes the DSC parser interface: improves comments and formatting, and
fixes a couple of very minor glitches. (zdscpars.c [1.2]: 2000/11/06
07:34:21 lpd)

branches: 1.3.2; ... and fixes an overlooked const discrepancy.
(zdscpars.c [1.3]: 2000/11/06 07:35:51 lpd)

branches: 1.2.2; Fix: The recently updated code for activating the DSC
comment parser had several local/global VM problems, causing invalidaccess
errors. (lib/gs_dscp.ps [1.2]: 2000/11/07 18:51:25 lpd)

Return code variables (code and comment_code) in zparse_dsc_comments(). need
to be signed. (zdscpars.c [1.4]: 2000/11/08 00:54:48 dancoby)

Rewrites .parse_dsc_comment to use the parameter list machinery, removing a
little functionally duplicated code; changes two incorrect uints to ints
(fix from dan@artifex.com); adds additional comment types (BoundingBox,
PageBoundingBox, BeginDefaults, EndDefaults) to the interface.
(zdscpars.c [1.5]: 2000/11/08 07:07:32 lpd)

DSC parser changes: adds %%ViewerOrientation to DSC parser; doesn't flag an
error if %%Pages is absent but one %%Page is found; frees memory if
initialization fails; recognizes general whitespace in some places where
only spaces were recognized before. (changes from gsview@ghostgum.com.au)
(dscparse.c [1.2], dscparse.h [1.2]: 2000/11/13 05:44:58 lpd)

Adds DSC comment tracing to ps2pdf, if -dDEBUG is specified on the command
line. (lib/gs_pdfwr.ps [1.9]: 2000/11/13 17:03:51 lpd)

Adds %%EndDefaults, %%For:, and %%ViewerOrientation: to the set of DSC
comments handled by the .parse_dsc_comments operator. (zdscpars.c [1.6]:
2000/11/13 17:06:18 lpd)

Slightly simplifies the code for creating the internal representation of
CMaps. (lib/gs_cmap.ps [1.8]: 2000/11/16 00:32:00 lpd)

Changes .buildshading to always apply a ReusableStreamDecode filter to file
and stream DataSources, so that multiple passes over the stream work. This
patch closes SourceForge bug 121810. (lib/gs_ll3.ps [1.7]: 2000/11/16
00:37:32 raph)

Makes single-byte CMap ranges convert into a single range in the internal
representation, rather than (largest - smallest + 1) separate single-element
ranges. (lib/gs_cmap.ps [1.10]: 2000/11/29 07:10:27 lpd)

Adds documentation for the procedures declared in ifont.h. (ifont.h [1.5]:
2000/12/03 23:14:28 lpd)

Extensively revises and updates the pdfwrite text handling code to support
processing and embedding of all types of fonts (except for Type 3 and
CIDFontType 1, which are defined by PostScript procedures), and all variants
of 'show' (including kshow and glyphshow). In particular, Type 0 fonts with
all FMapTypes (including CMap-based), CIDFontType 0 and 2 fonts, and both
standard and non-standard CMaps are supported. (lib/gs_cidfn.ps [1.18]:
2000/12/08 23:35:38 lpd)

Makes the default value of ParseDSCCommentsForDocInfo true rather than
false. (lib/gs_pdfwr.ps [1.10]: 2000/12/09 08:00:52 lpd)

Changes the parsing of the DSC Orientation comments to return -1 .. 3 rather
than 0 or 1. (lib/gs_dscp.ps [1.3], zdscpars.c [1.7]: 2000/12/09 17:52:29
lpd)

Changes .parse_dsc_comments to distinguish (document default)
ViewingOrientation from PageViewingOrientation, as for [Page]Orientation.
(zdscpars.c [1.9]: 2000/12/09 19:52:49 lpd)

Updates the comments with a new proposal for speeding up name lookup in the
interpreter. (dstack.h [1.3]: 2000/12/26 01:20:58 lpd)

The old code caused gswin crash when console window closes.
(dwimg.cpp [1.3]: 2000/12/26 13:41:40 igorm)

New flag DELAYSAFER added to defer activation of safety checks. SAFER=false
=&gt; no safety checks SAFER=true, DELAYSAFER=false =&gt; safety checks
always SAFER=true, DELAYSAFER=true =&gt; safety checks after .setsafe
(lib/gs_init.ps [1.28]: 2000/12/29 04:13:56 alexcher)

</pre><h2><a name="6.60-Streams"></a>Streams</h2><pre>

Fixes problems:
	- Seek was broken and PDF interpreter failed when
FILE_IMPLEMENTATION=fd The implementation of streams using direct OS calls
is extended to support MSVC &amp;&amp; Win32. close_.h is replaced by more
general unistd_.h (sfxfd.c [1.6]: 2000/12/19 03:35:40 alexcher)

</pre><h2><a name="6.60-Library"></a>Library</h2><pre>

Fixes problems:
	- Several places in the band list code didn't call s_init_state to
initialize locally allocated stream states: this is now required (see the
"Incompatible changes" section above). We suspect there are a few more
places that will need this fix. (gxclbits.c [1.3], gxcldev.h [1.4],
gxclread.c [1.3], gxclutil.c [1.3]: 2000/11/05 00:34:24 lpd)
	- Fixes infinite loops when writing large bitmaps into clist. Now,
cmd_put_bits never requests an allocation in the clist buffer larger than
cbuf_size. (gxclbits.c [1.4]: 2000/11/05 18:44:57 raph)
	- Works around an Acrobat Reader 4 bug that causes AR4 to draw a
single pixel, rather than nothing, when filling a subpath consisting only of
a moveto. (gdevvec.c [1.8]: 2000/11/07 16:42:28 lpd)
	- The PDF writer didn't handle stroked fonts correctly (they were
filled instead of stroked). (gdevvec.c [1.9], gdevvec.h [1.5]: 2000/11/12
06:52:08 lpd)
	- The pdfwrite and pswrite drivers could emit a lineto or rlineto
without a moveto at the beginning of the path. (bug introduced very
recently, by a workaround for an Acrobat Reader bug) (gdevvec.c [1.10]:
2000/11/14 07:41:08 lpd)
	- Attempting to write a CFF Type 2 font larger than 32K but smaller
than 64K caused a rangecheck. (gdevpsf2.c [1.8]: 2000/11/19 17:48:08 lpd)
	- Computing the default width or the fixed width for a CIDFont or
TrueType font could do a huge amount of unnecessary work. (Probably only
affects the PDF writer.) (gsfont.c [1.3]: 2000/11/20 21:09:09 lpd)
	- The Type 1 to Type 2 CharString converter (currently used only by
the PDF writer) often didn't detect invalid CharStrings as input.
(gdevpsfx.c [1.6]: 2000/11/21 02:33:55 lpd)
	- The code for writing a CIDFontType0 CFF font mistook Type 2
CharStrings for Type 1, and tried to convert them to Type 2. (This currently
affects only the PDF writer.) (gdevpsf2.c [1.9]: 2000/11/21 02:35:59 lpd)
	- Disk-based TrueType fonts caused a memory leak. (Currently, there
are no such fonts, but CIDFontType 2 fonts, and directly-accessed TrueType
fonts, should be made disk-based.) (gdevpsft.c [1.5], gstype42.c [1.10]:
2000/11/22 08:32:07 lpd)
	- Type 1 CharStrings loaded from disk for type 0 CIDFonts were never
freed, except by garbage collection (which doesn't reclaim chunks with only
a small amount of surviving data). In practice, this probably only affects
the PDF writer. (gsfcid.c [1.5], gstype1.c [1.6], gstype2.c [1.9],
gxfont1.h [1.5], gxtype1.c [1.8], gxtype1.h [1.5]: 2000/11/23 23:34:22 lpd)
	- The pswrite device couldn't write to pipes. The fix involved
expanding the API for opening device OutputFiles so that the individual
driver could specify whether it required, requested, or did not want a
positionable file. Fixes SourceForge bug # 122223. (gdevpipe.c [1.4],
gdevvec.c [1.11], gdevvec.h [1.6], gsdevice.c [1.8]: 2000/11/29 02:25:13
lpd)
	- The change for freeing transient CharStrings introduced two bugs,
possibly causing the code to free data twice, or to free data that should be
retained. (gdevpsfx.c [1.8]: 2000/11/30 05:58:19 lpd)
	- Allocates graphics state path in stable memory. This prevents
paths in Type 3 fonts allocated inside a save ... setcachedevice ... restore
sequence from being prematurely freed. Fixes SourceForge bug 101549.
(gspath1.c [1.3], gsstate.c [1.6]: 2000/12/04 21:13:55 raph)
	- An inadvertent change caused the graphics state not to be freed on
grestore. This fix, due to lpd, restores the freeing statement.
(gsstate.c [1.7]: 2000/12/05 09:24:57 raph)
	- The pointers to the substituted color spaces in the graphics state
weren't included in the structure descriptor, causing memory access errors
if UseCIEColor was used. (gsstate.c [1.8]: 2000/12/11 04:06:22 alexcher)
	- In TrueType fonts, glyph outlines starting with an off-curve point
didn't render correctly, replacing the curve with a pair of straight lines.
(gstype42.c [1.11]: 2000/12/12 22:27:56 alexcher)
	- Strict type correctness is required on VMS system. Contributed by
Jouk Jansen joukj@hrem.stm.tudelft.nl (gdevpsf2.c [1.12], gsfcmap.c [1.13]:
2000/12/18 21:58:03 alexcher)
	- Seek was broken and PDF interpreter failed when
FILE_IMPLEMENTATION=fd The implementation of streams using direct OS calls
is extended to support MSVC &amp;&amp; Win32. close_.h is replaced by more
general unistd_.h (gpmisc.c [1.9]: 2000/12/19 03:35:40 alexcher)
	- Fixes a subtle logic bug in the scan line path filling code, which
unfortunately involved rewriting the code from scratch. The new code is also
somewhat subtle, and may contain new bugs: DON'T TRUST IT YET. Fixes
SourceForge bug # 117066. (gxfill.c [1.7]: 2000/12/23 06:02:39 lpd)
	- Embedded Type 1 fonts omitted StdVW. (Acrobat Reader requires
this, even though the Type 1 specification says it is optional.)
(gdevpsf1.c [1.8]: 2000/12/29 01:18:55 lpd)

Adds developer documentation on the color mapping pipeline. (gxfrac.h [1.3]:
2000/11/03 04:53:00 lpd)

Improves the documentation of the minimum responsibilities of the 'process'
procedure in a text enumerator. (gxtext.h [1.6]: 2000/11/06 00:44:37 lpd)

Adds a param_string_from_transient_string macro, to parallel
param_string_from_string for non-permanent C strings. (gsparam.h [1.8]:
2000/11/08 06:56:50 lpd)

Adds a macro for declaring suffix subclasses with 5 added pointers (in
addition to the existing 1, 2, 3, 4, and 6). (gsstruct.h [1.6]: 2000/11/21
16:46:55 lpd)

Adds a procedure for testing whether a glyph is a "notdef" in a font,
necessary for fixing a memory consumption problem when accessing type 0
CIDFonts. (gsfont.c [1.4], gxfont.h [1.3]: 2000/11/23 23:23:40 lpd)

Speeds up the slow case of fixed_mult_quo by nearly a factor of 2, by using
a tiny bit of numerical analysis. (gsmisc.c [1.9], gxfixed.h [1.3]:
2000/11/24 06:53:23 lpd)

Improves the performance of embedded font writing by freeing strings when no
longer needed, and by removing redundant computation. (Currently relevant
only to the PDF writer.) (gdevpsf1.c [1.7], gdevpsf2.c [1.10],
gdevpsfu.c [1.5], gdevpsfx.c [1.7]: 2000/11/24 07:10:41 lpd)

Adds a procedure for creating an Identity CMap, needed by the PDF writer.
(gsfcmap.c [1.11], gxfcmap.h [1.6]: 2000/11/26 04:08:41 lpd)

Implements the stopgap measure of increasing fill_adjust for Coons patch
shading, to cover the dropouts caused by incorrect triangulation of the mesh
surface. See SourceForge Bug 119588 for a more thorough analysis.
(gsptype2.c [1.4], gxshade4.c [1.4]: 2000/11/29 01:31:30 raph)

Adds an internal unique ID to CMap structures (gs_cmap_t), for use as a
cache or comparison key. (gsfcmap.c [1.12], gxfcmap.h [1.7]: 2000/11/29
05:50:03 lpd)

The old code did not comply ISO/IEC C language standard and compiled wrongly
to Mac, causing halftone problem on Mac. (gshtscr.c [1.5]: 2000/11/29
14:41:34 igorm)

Adds macros for suffix subclass structures with 7 or 8 additional pointers
(1-6 and 9 existed already). (gsstruct.h [1.7]: 2000/12/04 01:11:53 lpd)

Extensively revises and updates the pdfwrite text handling code to support
processing and embedding of all types of fonts (except for Type 3 and
CIDFontType 1, which are defined by PostScript procedures), and all variants
of 'show' (including kshow and glyphshow). In particular, Type 0 fonts with
all FMapTypes (including CMap-based), CIDFontType 0 and 2 fonts, and both
standard and non-standard CMaps are supported. (gdevpsf.h [1.9],
gdevpsf2.c [1.11], gdevpsfm.c [1.4], gdevpsft.c [1.6], gdevpsfu.c [1.6]:
2000/12/08 23:35:38 lpd)

Moves definitions of gs_state_do_ptrs and gs_state_num_ptrs from gsstate.c
to gzstate.h since they depend on the contents of struct gs_state_s defined
there. (gsstate.c [1.9], gzstate.h [1.4]: 2000/12/11 12:52:16 alexcher)

Splits off the code for downsampling an oversampled character bitmap into a
separate file. (gsbitcom.c [1.1], gsbitops.c [1.3]: 2000/12/14 00:14:52 lpd)

branches: 1.1.2; Fix: Seek was broken and PDF interpreter failed when
FILE_IMPLEMENTATION=fd The implementation of streams using direct OS calls
is extended to support MSVC &amp;&amp; Win32. close_.h is replaced by more
general unistd_.h (unistd_.h [1.1]: 2000/12/19 03:35:40 alexcher)

Brings gxfill.c up to date with current coding standards (except for adding
_t to the names of locally defined structure types); also puts #ifdef
FILL_TRAPEZOIDS around a little more code that tests 'if (fill_trapezoids)'.
(gxfill.c [1.6]: 2000/12/21 16:10:36 lpd)

Updates repository for 6.60 release. (gscdef.c [1.11]: 2001/01/01 00:24:06
lpd)

</pre><h2><a name="6.60-Other"></a>Other</h2><pre>

Fixes problems:
	- Seek was broken and PDF interpreter failed when
FILE_IMPLEMENTATION=fd The implementation of streams using direct OS calls
is extended to support MSVC &amp;&amp; Win32. close_.h is replaced by more
general unistd_.h (close_.h [1.3]: 2000/12/19 03:35:40 alexcher)

<hr>

<h1><a name="Version6.30"></a>Version 6.30 (2000-10-03)</h1>

<p>
This fileset consists of xxx.

<p>
All problems registered on SourceForge numbered 110922 or lower are closed,
except for the following: 101549, 101814, 101905, 101955, 102146, 102735,
104118, 105289, 105558, 106340, 106652, 109350, 110445, 110898, 110922.

<p>
The following projects are in a partially completed state:

<ul>

<li>CID-keyed fonts in the PDF writer (gdevpdf[eftw].c) -- barely started.

</ul>

<pre>

<h2><a name="6.24_Incompatible_changes"></a>Incompatible changes</h2>

(Procedures)
	- The -Zv and -ZV switches now trace alpha/transparency features.
	- The program name is now AFPL Ghostscript rather than Aladdin
Ghostscript.
	- The default Windows installation directory is now c:\gs rather
than c:\Aladdin.
(Utilities)
	- lib/pdfeof.ps is deleted; its functionality is included in the
standard code.
(Drivers)
	- The X driver now implements sync_output using XSync(False) rather
than XFlush().
(Library)
	- gdev_vector_dopath now never returns 1.
	- Color space types now have a new, required, "equal" procedure.


<h2><a name="6.30 Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- the "User parameters" section was incorrectly titled "Device
parameters". (doc/Language.htm [1.11]: 2000/08/17 17:00:42 lpd)

Initializes files for the 6.24 fileset. (doc/News.htm [1.57]: 2000/08/09
16:54:01 lpd)

Adds Alex Cherepanov to the roster of helpers. (doc/Helpers.htm [1.2]:
2000/08/09 16:54:39 lpd)

Documents the -dDEVICE{WIDTH,HEIGHT}POINTS= switches. (doc/Use.htm [1.10]:
2000/08/17 01:31:52 lpd)

Notes the change in the return value of gdev_vector_dopath.
(doc/News.htm [1.58]: 2000/08/20 00:20:42 lpd)

Changes text to make it clear that Yves Arrouye no longer maintains the BJC
drivers that he wrote. (doc/Devices.htm [1.11]: 2000/08/21 14:38:27 lpd)

Puts the logic for detecting garbage after %%EOF (and some similar invalid
constructs) back into the main code, making it produce a message on stderr.
(doc/Psfiles.htm [1.6]: 2000/08/23 02:22:39 lpd)

Documents the deletion of lib/pdfeof.ps. (doc/News.htm [1.59]: 2000/08/23
02:23:54 lpd)

Starts to implement the PDF 1.4 transparency features. All API and operator
additions are now implemented (at least as stubs) and documented, as is
bookkeeping for the new scalar graphics state members (but not for the soft
masks or the transparency group stack). (doc/Language.htm [1.12]: 2000/08/23
21:46:31 lpd)

Adds a project to avoid DCT-decoding followed by DCT-encoding images when
writing PDF files. (doc/Projects.htm [1.16]: 2000/08/24 03:43:12 lpd)

Adds a new equality-testing virtual procedure for color spaces.
(doc/News.htm [1.60]: 2000/08/24 05:42:30 lpd)

Brings the (still mostly stubbed) transparency code to a more
self-consistent state. (doc/Language.htm [1.13]: 2000/08/30 01:34:40 lpd)

Completes the parsing of .{begin,end}transparency{group,mask}, except for
the TransferFunction for masks. The specification is still subject to
change. (doc/Language.htm [1.14]: 2000/08/30 15:03:36 lpd)

Divides the list of documents according to whether the document is for
users, for developers, or both. (doc/Readme.htm [1.11]: 2000/08/30 21:24:00
lpd)

Adds more documentation for the transparency rendering stack.
(doc/Language.htm [1.15]: 2000/08/31 03:34:41 lpd)

Adds a requirement to only use ANSI standard C library facilities.
(doc/C-style.htm [1.2]: 2000/09/08 04:53:14 lpd)

Changes the -Zv switch to trace alpha/transparency-related features.
(doc/News.htm [1.61], doc/Use.htm [1.11]: 2000/09/10 05:23:10 lpd)

Implements another chunk of the PDF 1.4 transparency features, fixing some
bugs in the previous code. (doc/Language.htm [1.16]: 2000/09/10 05:26:27
lpd)

Documents the addition of (limited) PDF 1.4 output capabilities.
(doc/Ps2pdf.htm [1.16]: 2000/09/11 02:08:58 lpd)

Moves the Matte entry of soft mask images from the main structure to the
mask structures, and changes Matted to has_Matte. (doc/Language.htm [1.17]:
2000/09/11 04:08:13 lpd)

Documents division of bug-gs mailbox into bug-gs, bug-gs-dev, and
bug-gs-beta. (doc/Bug-form.htm [1.7], doc/Bug-info.htm [1.5]: 2000/09/15
23:44:21 lpd)

Adds a paragraph explaining why and how the AFPL is not an Open Source /
Free Software license. (doc/PUBLIC [1.2], doc/Public.htm [1.2]: 2000/09/18
22:26:32 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript; also updates many internal references from
Aladdin Ghostscript to AFPL Ghostscript, and from Aladdin Enterprises to
artofcode LLC. (doc/Bug-form.htm [1.8], doc/Bug-info.htm [1.6],
doc/C-style.htm [1.3], doc/Changes.htm [1.17], doc/Commprod.htm [1.2],
doc/Copying.htm [1.2], doc/Current.htm [1.2], doc/DLL.htm [1.2],
doc/Devices.htm [1.12], doc/Drivers.htm [1.7], doc/Fonts.htm [1.7],
doc/Helpers.htm [1.3], doc/History1.htm [1.2], doc/History2.htm [1.2],
doc/History3.htm [1.2], doc/History4.htm [1.2], doc/History5.htm [1.4],
doc/History6.htm [1.12], doc/Htmstyle.htm [1.5], doc/Install.htm [1.6],
doc/Language.htm [1.18], doc/Lib.htm [1.2], doc/Maintain.htm [1.3],
doc/Make.htm [1.14], doc/New-user.htm [1.11], doc/News.htm [1.62],
doc/PUBLIC [1.3], doc/Projects.htm [1.17], doc/Ps2epsi.htm [1.3],
doc/Ps2pdf.htm [1.17], doc/Psfiles.htm [1.7], doc/Public.htm [1.3],
doc/Readme.htm [1.12], doc/Release.htm [1.18], doc/Source.htm [1.2],
doc/Tester.htm [1.2], doc/Unix-lpr.htm [1.2], doc/Use.htm [1.12],
doc/Xfonts.htm [1.2], doc/gs-vms.hlp [1.2]: 2000/09/19 21:37:50 lpd)

Updates README from Readme.htm. (doc/README [1.3]: 2000/09/19 23:39:31 lpd)

Changes the default Windows installation directory from c:\Aladdin to c:\gs.
(doc/Install.htm [1.7], doc/News.htm [1.63]: 2000/09/22 05:32:17 lpd)

Replaces the OpenVMS installation instructions with an improved set
contributed by a user. (doc/Helpers.htm [1.4], doc/Install.htm [1.8]:
2000/09/22 20:33:19 lpd)

Adds a project for fixing PDF files that have gotten mangled by EOL
conversion. (doc/Projects.htm [1.18]: 2000/09/25 14:40:37 lpd)

Adds a reference to PreScript, another free text extraction program based on
Ghostscript. (doc/New-user.htm [1.12]: 2000/09/26 01:04:40 lpd)

Documentation changes in preparation for 6.30 release. Replaced some contact
information, updated version numbers. (doc/Bug-form.htm [1.9],
doc/Bug-info.htm [1.7], doc/Commprod.htm [1.3], doc/Copying.htm [1.3],
doc/Current.htm [1.3], doc/DLL.htm [1.3], doc/Devices.htm [1.13],
doc/Drivers.htm [1.8], doc/Fonts.htm [1.8], doc/Helpers.htm [1.5],
doc/History1.htm [1.3], doc/History2.htm [1.3], doc/History3.htm [1.3],
doc/History4.htm [1.3], doc/History5.htm [1.5], doc/History6.htm [1.13],
doc/Htmstyle.htm [1.6], doc/Install.htm [1.9], doc/Language.htm [1.19],
doc/Lib.htm [1.3], doc/Maintain.htm [1.4], doc/Make.htm [1.15],
doc/New-user.htm [1.13], doc/News.htm [1.64], doc/Projects.htm [1.19],
doc/Ps2epsi.htm [1.4], doc/Ps2pdf.htm [1.18], doc/Psfiles.htm [1.8],
doc/README [1.4], doc/Readme.htm [1.13], doc/Release.htm [1.19],
doc/Source.htm [1.3], doc/Tester.htm [1.3], doc/Unix-lpr.htm [1.3],
doc/Use.htm [1.13], doc/Xfonts.htm [1.3], doc/gs-vms.hlp [1.3]: 2000/10/04
04:33:27 raph)

Bring version numbers and dates up to date. Small bug fix in toolbin/pre to
make it able to handle months with leading zeros. (doc/C-style.htm [1.4],
doc/Helpers.htm [1.6], man/ps2ps.1 [1.7]: 2000/10/04 05:18:54 raph)

</pre><h2><a name="6.30 Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- The PostScript image writing drivers (psmono/gray/rgb) didn't set
the page size in the output, and didn't produce DSC-compliant output.
(devs.mak [1.31]: 2000/08/09 06:55:45 lpd)
	- The FlateEncode and zlibEncode filters didn't implement the
"Effort" parameter. (fix from Alex Cherepanov) (int.mak [1.28]: 2000/08/09
16:55:24 lpd)
	- Because "-" as an OutputFile now references the %stdout IODevice,
it no longer worked in configurations without a PostScript interpreter.
Fixing this required factoring out the stdin/out/err IODevices and providing
an implementation that didn't reference the PostScript interpreter.
(int.mak [1.32], lib.mak [1.34], ugcclib.mak [1.3]: 2000/09/07 06:14:45 lpd)
	- Configurations including PDF but not PostScript didn't include all
the PostScript LL3 features needed to interpret PDF 1.3 et seq.
(int.mak [1.33]: 2000/09/07 06:35:06 lpd)
	- Cleans up some missing and incorrect dependencies.
(devs.mak [1.33], int.mak [1.34], lib.mak [1.35]: 2000/09/11 04:43:09 lpd)
	- The definition of PSRCDIR was inconsistent with the definition of
PVERSION. (openvms.mak [1.5]: 2000/09/22 04:05:40 lpd)
	- The pgnm and pnm drivers didn't properly detect the presence of
gray shades or color in images, sometimes causing gray or color information
to be lost in the output. (fix contributed by a user) (devs.mak [1.35]:
2000/09/23 04:52:56 lpd)

Initializes files for the 6.24 fileset. (version.mak [1.19]: 2000/08/09
16:54:02 lpd)

Adds a mention of the Color LaserJet 4500 as a color PCL XL printer.
(devs.mak [1.32]: 2000/08/17 20:43:50 lpd)

Changes text to make it clear that Yves Arrouye no longer maintains the BJC
drivers that he wrote. (contrib.mak [1.19]: 2000/08/21 14:38:28 lpd)

Puts the logic for detecting garbage after %%EOF (and some similar invalid
constructs) back into the main code, making it produce a message on stderr.
(unixinst.mak [1.12]: 2000/08/23 02:22:39 lpd)

Starts to implement the PDF 1.4 transparency features. All API and operator
additions are now implemented (at least as stubs) and documented, as is
bookkeeping for the new scalar graphics state members (but not for the soft
masks or the transparency group stack). (int.mak [1.29], lib.mak [1.30]:
2000/08/23 21:46:31 lpd)

Adds a new equality-testing virtual procedure for color spaces.
(lib.mak [1.31]: 2000/08/24 05:42:30 lpd)

Partly implements opacity and shape mask bookkeeping. gsave/grestore/etc.
and banding don't do the right thing yet. (int.mak [1.30],
version.mak [1.20]: 2000/08/25 01:46:48 lpd)

Brings the (still mostly stubbed) transparency code to a more
self-consistent state. (lib.mak [1.32]: 2000/08/30 01:34:40 lpd)

Finishes the code for parsing ImageType 103 (soft-mask) images.
(int.mak [1.31], lib.mak [1.33]: 2000/08/30 04:30:05 lpd)

*** empty log message *** (int.mak [1.35]: 2000/09/14 19:46:05 alexcher)

Undoes uncommented and in some cases inappropriate changes. (int.mak [1.36]:
2000/09/18 06:28:58 lpd)

Updates license notices to reference the AFPL (like the rest of Ghostscript)
rather than simply saying "All rights reserved". (toolbin/3way.tcl [1.2],
toolbin/cvs2hist.py [1.2], toolbin/errlist.tcl [1.2],
toolbin/gsindent [1.2], toolbin/gsmake.tcl [1.4], toolbin/headers.tcl [1.2],
toolbin/leaks.tcl [1.2], toolbin/makegnu.tcl [1.2],
toolbin/makeset.tcl [1.4], toolbin/pre [1.6], toolbin/precheck.tcl [1.2],
toolbin/suite.tcl [1.2], toolbin/tmake.tcl [1.2]: 2000/09/19 17:30:25 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, and changes internal references in various
scripts. (toolbin/3way.tcl [1.3], toolbin/cvs2hist.py [1.3],
toolbin/errlist.tcl [1.3], toolbin/gsindent [1.3], toolbin/gsmake.tcl [1.5],
toolbin/headers.tcl [1.3], toolbin/leaks.tcl [1.3],
toolbin/makegnu.tcl [1.3], toolbin/makeset.tcl [1.5], toolbin/pre [1.7],
toolbin/precheck.tcl [1.3], toolbin/suite.tcl [1.3],
toolbin/tmake.tcl [1.3]: 2000/09/19 18:10:51 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (all-arch.mak [1.5], bcwin32.mak [1.3], cfonts.mak [1.2],
contrib.mak [1.20], devs.mak [1.34], dvx-gcc.mak [1.4], dvx-head.mak [1.2],
dvx-tail.mak [1.3], dwmain.rc [1.2], dwsetup.def [1.2], dwsetup.rc [1.2],
dwuninst.def [1.2], dwuninst.rc [1.3]: 2000/09/19 19:00:08 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gs.mak [1.2], gs16spl.rc [1.2], gsdll2.rc [1.2],
gsdll32.rc [1.2]: 2000/09/19 19:00:25 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gsos2.rc [1.2], gspmdrv.rc [1.2]: 2000/09/19 19:00:30 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gswin.rc [1.2]: 2000/09/19 19:00:33 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (int.mak [1.37], jpeg.mak [1.3], lib.mak [1.36],
libpng.mak [1.2], msvc32.mak [1.5], msvccmd.mak [1.5], msvclib.mak [1.5],
msvctail.mak [1.4], openvms.mak [1.4], openvms.mmk [1.5], os2.mak [1.7],
pcwin.mak [1.2]: 2000/09/19 19:00:45 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (ugcclib.mak [1.4], unix-aux.mak [1.3], unix-end.mak [1.2],
unix-gcc.mak [1.7], unixansi.mak [1.5], unixhead.mak [1.2],
unixinst.mak [1.13], unixlink.mak [1.2], unixtrad.mak [1.5],
version.mak [1.21], watc.mak [1.5], watclib.mak [1.5], watcw32.mak [1.4],
wccommon.mak [1.3], wctail.mak [1.2], winint.mak [1.5], winlib.mak [1.4],
winplat.mak [1.2], wmin.mak [1.2], zlib.mak [1.2]: 2000/09/19 19:00:52 lpd)

Add commands to make the target GLGENDIR and BINDIR directories so that a
clean build works automatically. (msvctail.mak [1.5]: 2000/09/21 15:14:37
rayjj)

Changes the default Windows installation directory from c:\Aladdin to c:\gs.
(dwsetup.rc [1.3]: 2000/09/22 05:32:17 lpd)

Changes the default Windows Start Menu Folder from "Aladdin" to
"Ghostscript". (dwsetup.rc [1.4]: 2000/09/22 05:35:02 lpd)

Updates the makefiles from libpng version 1.0.5 to 1.0.8.
(all-arch.mak [1.6], bcwin32.mak [1.4], dvx-gcc.mak [1.5], libpng.mak [1.3],
msvc32.mak [1.6], msvclib.mak [1.6], openvms.mak [1.6], openvms.mmk [1.6],
os2.mak [1.8], ugcclib.mak [1.5], unix-gcc.mak [1.8], unixansi.mak [1.6],
unixtrad.mak [1.6], watc.mak [1.6], watclib.mak [1.6], watcw32.mak [1.5]:
2000/09/25 15:06:28 lpd)

Documentation changes in preparation for 6.30 release. Replaced some contact
information, updated version numbers. (version.mak [1.22]: 2000/10/04
04:33:29 raph)

Bring version numbers and dates up to date. Small bug fix in toolbin/pre to
make it able to handle months with leading zeros. (toolbin/pre [1.8]:
2000/10/04 05:18:54 raph)

</pre><h2><a name="6.30 Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- ps2pdf13.cmd set the output PDF version to 1.2 rather than 1.3.
(lib/ps2pdf13.cmd [1.2]: 2000/09/10 19:32:44 lpd)
	- The OpenVMS Fontmap had gotten badly out of date; specifically, it
didn't reference the URW++ fonts distributed with Ghostscript.
(lib/Fontmap.VMS [1.2]: 2000/09/22 03:30:21 lpd)

Puts the logic for detecting garbage after %%EOF (and some similar invalid
constructs) back into the main code, making it produce a message on stderr.
(lib/pdfeof.ps [1.2]: 2000/08/23 02:22:39 lpd)

Adds script / batch / command files for producing PDF 1.4 output.
(lib/ps2pdf14 [1.1], lib/ps2pdf14.bat [1.1], lib/ps2pdf14.cmd [1.1]:
2000/09/10 19:33:47 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, and changes a few other internal
references. (lib/Fontmap.ATB [1.2], lib/Fontmap.ATM [1.2],
lib/Fontmap.GS [1.2], lib/Fontmap.OS2 [1.2], lib/Fontmap.SGI [1.2],
lib/Fontmap.Sol [1.2], lib/Fontmap.Ult [1.2], lib/addxchar.ps [1.2],
lib/afmdiff.awk [1.2], lib/align.ps [1.2], lib/bdftops.ps [1.2],
lib/caption.ps [1.2], lib/cbjc600.ppd [1.2], lib/cbjc800.ppd [1.2],
lib/cid2code.ps [1.2], lib/docie.ps [1.2], lib/errpage.ps [1.2],
lib/font2c.ps [1.2], lib/font2pcl.ps [1.2], lib/gslp.ps [1.2],
lib/gsnup.ps [1.2], lib/image-qa.ps [1.2], lib/impath.ps [1.2],
lib/jispaper.ps [1.2], lib/lines.ps [1.2], lib/markhint.ps [1.2],
lib/markpath.ps [1.2], lib/packfile.ps [1.2], lib/pcharstr.ps [1.2],
lib/pdf2dsc.ps [1.2], lib/pdfopt.ps [1.3], lib/pdfwrite.ps [1.3],
lib/pfbtopfa.ps [1.2], lib/ppath.ps [1.2], lib/ps2ai.ps [1.2],
lib/ps2ascii.ps [1.2], lib/ps2epsi [1.4], lib/ps2epsi.ps [1.4],
lib/showchar.ps [1.2], lib/stcinfo.ps [1.2], lib/stcolor.ps [1.2],
lib/stocht.ps [1.3], lib/traceimg.ps [1.2], lib/traceop.ps [1.2],
lib/type1enc.ps [1.2], lib/type1ops.ps [1.2], lib/uninfo.ps [1.2],
lib/unprot.ps [1.2], lib/viewcmyk.ps [1.2], lib/viewgif.ps [1.2],
lib/viewmiff.ps [1.2], lib/viewpbm.ps [1.2], lib/viewpcx.ps [1.2],
lib/viewps2a.ps [1.2], lib/wftopfa.ps [1.2], lib/winmaps.ps [1.2],
lib/wrfont.ps [1.2], lib/zeroline.ps [1.2]: 2000/09/19 18:29:11 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (bench.c [1.3], echogs.c [1.2]: 2000/09/19 19:00:08 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (genarch.c [1.2], genconf.c [1.3], gendev.c [1.2],
genht.c [1.2], geninit.c [1.3], gp_dvx.c [1.2], gp_iwatc.c [1.4],
gp_mktmp.c [1.2], gp_mshdl.c [1.2], gp_msio.c [1.2], gp_mslib.c [1.2],
gp_mswin.c [1.3], gp_ntfs.c [1.4], gp_os2.c [1.4], gp_os9.c [1.3],
gp_sysv.c [1.2], gp_unix.c [1.3], gp_vms.c [1.4], gp_wgetv.c [1.3],
gp_win32.c [1.2], gp_wsync.c [1.2], gs16spl.c [1.2]: 2000/09/19 19:00:23
lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gsdll.c [1.3], gserver.c [1.2]: 2000/09/19 19:00:27 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gspmdrv.c [1.2]: 2000/09/19 19:00:31 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (scfdgen.c [1.2]: 2000/09/19 19:00:48 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (zdosio.c [1.2]: 2000/09/19 19:00:53 lpd)

When GSC environment variable is not set, gssetgs.bat fails to set it, which
makes ps2pdf.bat and several other scripts fail on Windows NT 4.0 with the
following misleading error message: "_.at" This file doesn't have a program
associated with it ... This change fixes the problem.
(lib/gssetgs.bat [1.2]: 2000/10/01 15:25:37 alexcher)

</pre><h2><a name="6.30 Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- The PostScript image writing drivers (psmono/gray/rgb) didn't set
the page size in the output, and didn't produce DSC-compliant output.
(gdevps.c [1.11], gdevpsci.c [1.2], gdevpsim.c [1.3], gdevpsu.c [1.1],
gdevpsu.h [1.1]: 2000/08/09 06:55:45 lpd)
	- the user-contributed cfax driver didn't correctly handle page
widths other than the standard fax widths, and didn't write the required
end-of-document marker. (gdevcfax.c [1.2]: 2000/08/17 04:43:25 lpd)
	- Setting parameters for the PS/PDF writer reset any unspecified
*Dict parameter dictionaries to the empty dictionary, rather than leaving
them alone. (gdevpsdp.c [1.6]: 2000/08/18 03:18:59 lpd)
	- BJC printers with different X and Y resolution produced incorrect
output. Also removes the comment asking users to report problems to Yves
Arrouye, since he no longer maintains this code. (gdevcdj.c [1.3]:
2000/08/21 14:43:17 lpd)
	- The emulation of XPutImage (Ghostscript*useXPutImage: 0) was
broken. (gdevx.c [1.6]: 2000/08/21 17:23:26 lpd)
	- Dictionary-valued device parameters for high-level devices could
be freed while the device still referred to them. (gdevpsdp.c [1.7]:
2000/08/31 15:55:46 lpd)
	- Cleans up some missing and incorrect dependencies.
(gdevsco.c [1.2]: 2000/09/11 04:43:09 lpd)
	- Works around a gcc code generation bug that sometimes caused gray
colors to be written out as RGB in PDF files. (Minor performance issue
only.) (gdevpsdu.c [1.6]: 2000/09/11 21:12:12 lpd)
	- The pgnm and pnm drivers didn't properly detect the presence of
gray shades or color in images, sometimes causing gray or color information
to be lost in the output. (fix contributed by a user) (gdevpbm.c [1.3]:
2000/09/23 04:52:57 lpd)

In the X Windows driver, changes XFlush() to XSync(False) so that updates
will actually complete before the command prompt appears. (gdevx.c [1.5],
gdevxini.c [1.8]: 2000/08/19 03:31:44 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdev3852.c [1.2], gdev3b1.c [1.2], gdev4081.c [1.2],
gdev8510.c [1.2], gdev8bcm.c [1.2], gdev8bcm.h [1.2], gdevadmp.c [1.2],
gdevatx.c [1.6], gdevbit.c [1.2], gdevbj10.c [1.3], gdevbjc.h [1.2],
gdevbjcl.c [1.2], gdevbjcl.h [1.2], gdevbmp.c [1.3], gdevbmp.h [1.2],
gdevbmpa.c [1.3], gdevbmpc.c [1.2], gdevccr.c [1.2], gdevcdj.c [1.4],
gdevcfax.c [1.3], gdevcgm.c [1.2], gdevcgml.c [1.2], gdevcgml.h [1.2],
gdevcgmx.h [1.2], gdevcif.c [1.2], gdevclj.c [1.2], gdevcljc.c [1.2],
gdevcp50.c [1.2], gdevcslw.c [1.2], gdevdcrd.c [1.2], gdevdcrd.h [1.2],
gdevdfax.c [1.3], gdevdjet.c [1.6], gdevdjtc.c [1.2], gdevdljm.c [1.4],
gdevdljm.h [1.4], gdevdm24.c [1.2], gdevegaa.asm [1.2], gdevepsc.c [1.2],
gdevepsn.c [1.2], gdevescp.c [1.2], gdevevga.c [1.2], gdevfax.c [1.2],
gdevfax.h [1.2], gdevherc.c [1.2], gdevhl7x.c [1.3], gdevimgn.c [1.2],
gdevjpeg.c [1.2], gdevl256.c [1.3], gdevl31s.c [1.2], gdevlbp8.c [1.2],
gdevlj56.c [1.2], gdevlp8k.c [1.2], gdevlxm.c [1.2], gdevmeds.c [1.2]:
2000/09/19 19:00:11 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevmeds.h [1.2], gdevmgr.c [1.2], gdevmgr.h [1.2],
gdevmiff.c [1.2], gdevmswn.c [1.2], gdevmswn.h [1.2], gdevmsxf.c [1.2],
gdevn533.c [1.2], gdevo182.c [1.2], gdevokii.c [1.2], gdevos2p.c [1.3],
gdevp2up.c [1.2], gdevpbm.c [1.2], gdevpccm.c [1.2], gdevpccm.h [1.3],
gdevpcfb.c [1.2], gdevpcfb.h [1.2], gdevpcl.c [1.4]: 2000/09/19 19:00:14
lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevpcl.h [1.4], gdevpcx.c [1.2], gdevpe.c [1.2]: 2000/09/19
19:00:17 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevphex.c [1.2], gdevpjet.c [1.2], gdevpm.c [1.2],
gdevpm.h [1.2], gdevpng.c [1.3], gdevps.c [1.12], gdevpsdf.h [1.8],
gdevpsdi.c [1.12], gdevpsdp.c [1.8], gdevpsds.c [1.4], gdevpsds.h [1.4],
gdevpsdu.c [1.7], gdevpsim.c [1.4], gdevpsu.c [1.2], gdevpsu.h [1.2],
gdevpx.c [1.4], gdevpxat.h [1.3], gdevpxen.h [1.3], gdevpxop.h [1.2],
gdevpxut.c [1.2], gdevpxut.h [1.2], gdevs3ga.c [1.2], gdevsco.c [1.3],
gdevsj48.c [1.2], gdevsnfb.c [1.2], gdevsppr.c [1.2], gdevstc.c [1.2],
gdevstc.h [1.2], gdevstc1.c [1.2], gdevstc2.c [1.2], gdevstc3.c [1.2],
gdevstc4.c [1.2], gdevsun.c [1.2]: 2000/09/19 19:00:20 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevsunr.c [1.2], gdevsvga.c [1.2], gdevsvga.h [1.2],
gdevtfax.c [1.4], gdevtfax.h [1.4], gdevtfnx.c [1.3], gdevtifs.c [1.3],
gdevtifs.h [1.3], gdevtknk.c [1.2], gdevupd.c [1.3], gdevvglb.c [1.3],
gdevwddb.c [1.2], gdevwdib.c [1.2], gdevwpr2.c [1.5], gdevwprn.c [1.2],
gdevx.c [1.7], gdevx.h [1.4], gdevxalt.c [1.2], gdevxcmp.c [1.2],
gdevxcmp.h [1.2], gdevxini.c [1.9], gdevxres.c [1.3], gdevxxf.c [1.5]:
2000/09/19 19:00:23 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (png_.h [1.2]: 2000/09/19 19:00:47 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (x_.h [1.2]: 2000/09/19 19:00:52 lpd)

</pre><h2><a name="6.30 PDF writer"></a>PDF writer</h2><pre>

Fixes problems:
	- The SrcPg entry in ANN pdfmarks was (effectively) ignored. (bug
introduced between 5.50 and 6.01.) (gdevpdfm.c [1.5]: 2000/08/31 18:49:59
lpd)
	- When CompatibilityLevel < 1.4, transparency was ignored rather
than being rendered explicitly. (gdevpdfg.c [1.9]: 2000/09/11 21:13:49 lpd)

Works around the bug in Acrobat Reader (all versions) that apparently treats
stroked fonts as filled fonts, ignoring the PaintType. (gdevpdft.c [1.15]:
2000/08/31 03:23:26 lpd)

Adds the ability to write some PDF 1.4 constructs: graphics state parameters
AIS, BM, ca/CA, and TK, and images with soft masks (except for Matte).
(gdevpdfg.c [1.8], gdevpdfg.h [1.8], gdevpdfi.c [1.18]: 2000/09/11 02:14:09
lpd)

Adds the ability to write PDF 1.4 soft-masked images. (gdevpdfi.c [1.19],
gdevpdfo.c [1.4], gdevpdfo.h [1.4], gdevpdfv.c [1.2]: 2000/09/11 04:10:42
lpd)

Replaces "Distiller" with our program name in the Info Producer string.
(gdevpdf.c [1.20], gdevpdfm.c [1.6], gdevpdfu.c [1.11], gdevpdfx.h [1.21]:
2000/09/12 02:03:35 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevpdf.c [1.21], gdevpdfb.c [1.2], gdevpdfc.c [1.12],
gdevpdfd.c [1.10], gdevpdfe.c [1.4], gdevpdff.c [1.8], gdevpdff.h [1.4],
gdevpdfg.c [1.10], gdevpdfg.h [1.9], gdevpdfi.c [1.20], gdevpdfj.c [1.5],
gdevpdfm.c [1.7], gdevpdfo.c [1.5], gdevpdfo.h [1.5], gdevpdfp.c [1.10],
gdevpdfr.c [1.4], gdevpdft.c [1.16], gdevpdfu.c [1.12], gdevpdfv.c [1.3],
gdevpdfw.c [1.5], gdevpdfx.h [1.22]: 2000/09/19 19:00:17 lpd)

</pre><h2><a name="6.30 Interpreter (PDF)"></a>Interpreter (PDF)</h2><pre>

Fixes problems:
	- PDF files with embedded CID fonts with FontName != BaseFont
(prohibited by the PDF specification, but produced by some Adobe software)
caused an error. (lib/pdf_font.ps [1.11], lib/pdf_ops.ps [1.8]: 2000/08/08
22:29:12 lpd)
	- Setting the color (fill or stroke) sometimes overwrote the color
associated with an outer gsave level. (lib/pdf_ops.ps [1.9]: 2000/08/24
01:55:37 lpd)
	- The PDF text rendering modes that included clipping (modes 4-7)
didn't work. The fix is a bit of a hack, but it's much closer to being
right. (lib/pdf_ops.ps [1.12]: 2000/08/31 02:05:55 lpd)
	- The new code for detecting whether a page used any transparency
features could cause an error. (lib/pdf_main.ps [1.14]: 2000/09/10 18:48:26
lpd)
	- Filters with indirect object parameters caused an error. (Fix from
Artifex.) (lib/pdf_base.ps [1.9]: 2000/09/14 00:38:05 lpd)
	- The page dictionary was left on the operand stack while the page
was being rendered, causing the sc[n]/SC[N] operators to give an error if
the color consisted of only a single value. (bug introduced after 6.23)
(lib/pdf_main.ps [1.18]: 2000/09/18 06:38:38 lpd)

Puts the logic for detecting garbage after %%EOF (and some similar invalid
constructs) back into the main code, making it produce a message on stderr.
(lib/pdf_main.ps [1.11]: 2000/08/23 02:22:39 lpd)

Implements the op, OP, and OPM (overprint control) elements of ExtGStates.
(lib/pdf_draw.ps [1.17], lib/pdf_ops.ps [1.10]: 2000/08/24 02:26:52 lpd)

Implements the new PDF 1.4 scalar graphics state parameters (ca, CA, SMask,
AIS, BM, TK). The implementation of SMask is a stub.
(lib/pdf_draw.ps [1.18], lib/pdf_ops.ps [1.11]: 2000/08/24 03:04:29 lpd)

If a PDF file is invalid but repairable, prints out the Producer as part of
the warning message. (lib/pdf_main.ps [1.12]: 2000/08/24 04:18:40 lpd)

Adds most of the code needed to support PDF 1.4 transparency groups and soft
masks in the graphics state. (lib/pdf_draw.ps [1.19], lib/pdf_ops.ps [1.13]:
2000/09/08 04:54:10 lpd)

Implements another chunk of the PDF 1.4 transparency features, fixing some
bugs in the previous code. (lib/pdf_draw.ps [1.20], lib/pdf_main.ps [1.13],
lib/pdf_ops.ps [1.14]: 2000/09/10 05:26:27 lpd)

Moves the Matte entry of soft mask images from the main structure to the
mask structures, and changes Matted to has_Matte. (lib/pdf_draw.ps [1.21]:
2000/09/11 04:08:13 lpd)

Renders pages that use any transparency features as transparency groups.
(lib/pdf_main.ps [1.15]: 2000/09/12 20:36:23 lpd)

*** empty log message *** (lib/pdf_main.ps [1.16]: 2000/09/15 03:51:54
alexcher)

Undoes uncommented and in some cases inappropriate changes.
(lib/pdf_main.ps [1.17]: 2000/09/18 06:28:58 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, and changes a few other internal
references. (lib/pdf_base.ps [1.10], lib/pdf_draw.ps [1.22],
lib/pdf_font.ps [1.12], lib/pdf_main.ps [1.19], lib/pdf_ops.ps [1.15],
lib/pdf_sec.ps [1.2]: 2000/09/19 18:29:11 lpd)

</pre><h2><a name="6.30 Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- The FlateEncode and zlibEncode filters didn't implement the
"Effort" parameter. (fix from Alex Cherepanov) (zfzlib.c [1.2]: 2000/08/09
16:55:25 lpd)
	- The *ACSImageDict parameter dictionaries weren't being set for the
/default configuration; the *ACSImageDict parameters were never recognized,
because their names were spelled incorrectly as *ACSDict. (Two separate
bugs.) (lib/gs_pdfwr.ps [1.5]: 2000/08/18 03:20:12 lpd)
	- When given an array of the wrong size, a number of operators
produced a limitcheck error rather than a rangecheck. (idparam.c [1.2],
idparam.h [1.2], zcie.c [1.3], zfont1.c [1.7], zfunc.c [1.5],
zfunc0.c [1.2], zimage2.c [1.2], zimage3.c [1.2], zpcolor.c [1.2],
zshade.c [1.3]: 2000/08/23 01:45:08 lpd)
	- The stub implementations of .{set,current}{opacity,shape}mask
didn't {pop the argument}{push null}. (ztrans.c [1.2]: 2000/08/24 03:03:18
lpd)
	- The BeOS C compiler objected to some int/bool mismatches.
(icontext.c [1.5]: 2000/08/31 03:51:29 lpd)
	- If changing LanguageLevels caused a dictionary to grow, memory
could be corrupted. (zmisc2.c [1.2]: 2000/08/31 14:43:58 lpd)
	- Because "-" as an OutputFile now references the %stdout IODevice,
it no longer worked in configurations without a PostScript interpreter.
Fixing this required factoring out the stdin/out/err IODevices and providing
an implementation that didn't reference the PostScript interpreter.
(ziodev.c [1.2], ziodevs.c [1.1]: 2000/09/07 06:14:45 lpd)
	- .LocalDefaults was stored in a local array in the (global)
ColorSpace category dictionary, causing memory anomalies with multiple
contexts. (lib/gs_ll3.ps [1.6], lib/gs_res.ps [1.13]: 2000/09/20 07:15:11
lpd)
	- A missing cast caused the picky OpenVMS compiler to complain.
(zdevcal.c [1.3]: 2000/09/22 04:18:17 lpd)
	- Attempting to show an undefined character code in a TrueType font
with no .notdef entry caused an error. (lib/gs_ttf.ps [1.8]: 2000/09/23
18:47:06 lpd)

Initializes files for the 6.24 fileset. (lib/gs_init.ps [1.21]: 2000/08/09
16:54:02 lpd)

Adds the PDF "overprint mode" to the graphics state. THE ACTUAL
FUNCTIONALITY IS NOT IMPLEMENTED YET. (zcssepr.c [1.4]: 2000/08/23 17:54:16
lpd)

Starts to implement the PDF 1.4 transparency features. All API and operator
additions are now implemented (at least as stubs) and documented, as is
bookkeeping for the new scalar graphics state members (but not for the soft
masks or the transparency group stack). (ztrans.c [1.1]: 2000/08/23 21:46:31
lpd)

Partly implements opacity and shape mask bookkeeping. gsave/grestore/etc.
and banding don't do the right thing yet. (igstate.h [1.2], ztrans.c [1.3]:
2000/08/25 01:46:48 lpd)

Implements some minor improvements to the freelist algorithms that can
produce nearly a factor of 2 speedup in some allocation-intensive
situations. (isave.c [1.2]: 2000/08/26 03:21:34 lpd)

Brings the (still mostly stubbed) transparency code to a more
self-consistent state. (ztrans.c [1.4]: 2000/08/30 01:34:40 lpd)

Finishes the code for parsing ImageType 103 (soft-mask) images.
(ztrans.c [1.5]: 2000/08/30 04:30:06 lpd)

Completes the parsing of .{begin,end}transparency{group,mask}, except for
the TransferFunction for masks. The specification is still subject to
change. (ztrans.c [1.6]: 2000/08/30 15:03:36 lpd)

*Really* finishes the transparency rendering stack operators (the previous
version didn't even compile), except for TransferFunction. (ztrans.c [1.7]:
2000/08/30 21:11:55 lpd)

Implements another chunk of the PDF 1.4 transparency features, fixing some
bugs in the previous code. (lib/gs_ll3.ps [1.4], ztrans.c [1.8]: 2000/09/10
05:26:27 lpd)

Checks that the TransferFunction of a soft mask is 1-in, 1-out; sets Matted
correctly in the soft mask parameters passed to the graphics library.
(ztrans.c [1.9]: 2000/09/11 02:10:28 lpd)

Moves the Matte entry of soft mask images from the main structure to the
mask structures, and changes Matted to has_Matte. (ztrans.c [1.10]:
2000/09/11 04:08:13 lpd)

Upgrades the proposed driver interface transparency extension from comments
to macros, changing the name 'discard_transparency_level' to
'discard_transparency_layer'. (ztrans.c [1.11]: 2000/09/11 20:13:31 lpd)

*** empty log message *** (lib/gs_init.ps [1.22], zmatrix.c [1.2]:
2000/09/14 19:46:05 alexcher)

Undoes uncommented and in some cases inappropriate changes.
(lib/gs_init.ps [1.23], zmatrix.c [1.3]: 2000/09/18 06:28:58 lpd)

Updates the license notice to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript. (examples/waterfal.ps [1.2]: 2000/09/19
18:03:40 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, and changes a few other internal
references. (lib/gs_agl.ps [1.2], lib/gs_btokn.ps [1.3],
lib/gs_ccfnt.ps [1.4], lib/gs_ce_e.ps [1.2], lib/gs_cff.ps [1.7],
lib/gs_cidfn.ps [1.17], lib/gs_cmap.ps [1.6], lib/gs_cmdl.ps [1.2],
lib/gs_css_e.ps [1.2], lib/gs_dbt_e.ps [1.2], lib/gs_diskf.ps [1.2],
lib/gs_dpnxt.ps [1.2], lib/gs_dps.ps [1.4], lib/gs_dps1.ps [1.2],
lib/gs_dps2.ps [1.2], lib/gs_epsf.ps [1.2], lib/gs_fform.ps [1.2],
lib/gs_fonts.ps [1.9], lib/gs_frsd.ps [1.4], lib/gs_il1_e.ps [1.2],
lib/gs_il2_e.ps [1.2], lib/gs_init.ps [1.24], lib/gs_kanji.ps [1.2],
lib/gs_ksb_e.ps [1.2], lib/gs_l2img.ps [1.2], lib/gs_lev2.ps [1.6],
lib/gs_lgo_e.ps [1.3], lib/gs_lgx_e.ps [1.2], lib/gs_ll3.ps [1.5],
lib/gs_mex_e.ps [1.2], lib/gs_mgl_e.ps [1.3], lib/gs_mro_e.ps [1.2],
lib/gs_pdf_e.ps [1.2], lib/gs_pdfwr.ps [1.6], lib/gs_pfile.ps [1.2],
lib/gs_rdlin.ps [1.2], lib/gs_res.ps [1.12], lib/gs_setpd.ps [1.5],
lib/gs_statd.ps [1.4], lib/gs_std_e.ps [1.2], lib/gs_sym_e.ps [1.2],
lib/gs_trap.ps [1.3], lib/gs_ttf.ps [1.7], lib/gs_typ32.ps [1.2],
lib/gs_typ42.ps [1.2], lib/gs_type1.ps [1.4], lib/gs_wan_e.ps [1.2],
lib/gs_wl1_e.ps [1.2], lib/gs_wl2_e.ps [1.2], lib/gs_wl5_e.ps [1.2]:
2000/09/19 18:29:11 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (bfont.h [1.3], btoken.h [1.4], ccfont.h [1.2],
dpmainc.c [1.2], dstack.h [1.2], dwdll.cpp [1.2], dwdll.h [1.2],
dwimg.cpp [1.2], dwimg.h [1.2], dwinst.cpp [1.2], dwinst.h [1.2],
dwmain.cpp [1.2], dwmain.h [1.2], dwmainc.cpp [1.3], dwnodll.cpp [1.2],
dwsetup.cpp [1.3], dwsetup.h [1.2], dwtext.cpp [1.2], dwtext.h [1.2],
dwuninst.cpp [1.2], dwuninst.h [1.2], errors.h [1.2], estack.h [1.2],
files.h [1.2]: 2000/09/19 19:00:09 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (ghost.h [1.2], gs.c [1.2]: 2000/09/19 19:00:23 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (ialloc.c [1.2], ialloc.h [1.2], iastate.h [1.2],
iastruct.h [1.2], ibnum.c [1.2], ibnum.h [1.2], iccfont.c [1.2],
iccinit0.c [1.2], icfontab.c [1.2], ichar.h [1.3], ichar1.h [1.3],
icharout.h [1.2], icid.h [1.2], icie.h [1.2], icolor.h [1.2], iconf.c [1.2],
icontext.c [1.6], icontext.h [1.2], icremap.h [1.2], icsmap.h [1.2],
icstate.h [1.4], iddict.h [1.2], iddstack.h [1.2], idebug.c [1.2],
idebug.h [1.2], idict.c [1.2], idict.h [1.2], idictdef.h [1.2],
idosave.h [1.2], idparam.c [1.3], idparam.h [1.3], idsdata.h [1.2],
idstack.c [1.2], idstack.h [1.2], iesdata.h [1.2], iestack.h [1.2],
ifcid.h [1.2], ifilter.h [1.3], ifilter2.h [1.2], ifont.h [1.4],
ifont1.h [1.3], ifont2.h [1.2], ifont42.h [1.3], ifrpred.h [1.2],
ifunc.h [1.3], ifwpred.h [1.2], igc.c [1.2]: 2000/09/19 19:00:41 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (igc.h [1.2], igcref.c [1.2], igcstr.c [1.3], igcstr.h [1.2],
igstate.h [1.3], iht.h [1.2], iimage.h [1.2], iimage2.h [1.2],
iinit.c [1.2], iinit.h [1.2], ilevel.h [1.2], ilocate.c [1.3],
imain.c [1.2], imain.h [1.2], imainarg.c [1.4], imainarg.h [1.2],
imemory.h [1.2], iminst.h [1.2], iname.c [1.3], iname.h [1.2],
inamedef.h [1.2], inameidx.h [1.2], inames.h [1.2], inamestr.h [1.2],
inobtokn.c [1.2], inouparm.c [1.2], interp.c [1.6], interp.h [1.2],
iosdata.h [1.2], iostack.h [1.2], ipacked.h [1.2], iparam.c [1.5],
iparam.h [1.2], iparray.h [1.2], ipcolor.h [1.2], ireclaim.c [1.2],
iref.h [1.3], isave.c [1.3], isave.h [1.2], iscan.c [1.5], iscan.h [1.4],
iscanbin.c [1.5], iscanbin.h [1.2], iscannum.c [1.2], iscannum.h [1.2],
isdata.h [1.2], isstate.h [1.2], istack.c [1.2], istack.h [1.2],
istkparm.h [1.2], istream.h [1.2], istruct.h [1.2], itoken.h [1.2],
iutil.c [1.2], iutil.h [1.2], iutil2.c [1.2], iutil2.h [1.2],
ivmem2.h [1.2]: 2000/09/19 19:00:44 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (ivmspace.h [1.2], main.h [1.2], oparc.h [1.2],
opcheck.h [1.2], opdef.h [1.2], oper.h [1.2], opextern.h [1.2],
ostack.h [1.2], sbhc.c [1.2], sbhc.h [1.2], sbwbs.c [1.2], sbwbs.h [1.2],
sfilter1.c [1.5]: 2000/09/19 19:00:47 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (shcgen.c [1.2], shcgen.h [1.2], smtf.c [1.2], smtf.h [1.2],
store.h [1.2], zarith.c [1.4], zarray.c [1.2], zbfont.c [1.6],
zbseq.c [1.4], zcfont.c [1.2], zchar.c [1.3], zchar1.c [1.5],
zchar2.c [1.2], zchar32.c [1.2], zchar42.c [1.2], zcharout.c [1.2],
zcharx.c [1.3], zcid.c [1.3], zcie.c [1.4], zcolor.c [1.4]: 2000/09/19
19:00:50 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (zcolor1.c [1.3], zcolor2.c [1.3], zcontext.c [1.6],
zcontrol.c [1.3], zcrd.c [1.2], zcsdevn.c [1.3], zcsindex.c [1.3],
zcspixel.c [1.2], zcssepr.c [1.5], zdevcal.c [1.2], zdevice.c [1.3],
zdevice2.c [1.3], zdict.c [1.3], zdouble.c [1.2], zdpnext.c [1.2],
zdps.c [1.4], zdps1.c [1.2], zfbcp.c [1.3], zfcid.c [1.10], zfcid0.c [1.4],
zfcid1.c [1.2], zfcmap.c [1.8], zfdctd.c [1.3], zfdcte.c [1.3],
zfdecode.c [1.3], zfile.c [1.5], zfileio.c [1.9], zfilter.c [1.4],
zfilter2.c [1.3], zfilterx.c [1.2], zfmd5.c [1.2], zfont.c [1.2],
zfont0.c [1.3], zfont1.c [1.8], zfont2.c [1.3], zfont32.c [1.2],
zfont42.c [1.5], zfproc.c [1.4], zfrsd.c [1.4], zfunc.c [1.6],
zfunc0.c [1.3], zfunc3.c [1.2], zfunc4.c [1.5], zfzlib.c [1.3],
zgeneric.c [1.3], zgstate.c [1.2], zhsb.c [1.2], zht.c [1.2], zht1.c [1.2],
zht2.c [1.2], zimage.c [1.5], zimage2.c [1.3], zimage3.c [1.3],
ziodev.c [1.3], ziodev2.c [1.3], ziodevs.c [1.2], zmath.c [1.3],
zmatrix.c [1.4], zmedia2.c [1.2], zmisc.c [1.2], zmisc1.c [1.3],
zmisc2.c [1.3], zmisc3.c [1.2], zpacked.c [1.2], zpaint.c [1.2],
zpath.c [1.2], zpath1.c [1.2], zpcolor.c [1.3], zrelbit.c [1.2],
zrop.c [1.2], zshade.c [1.4], zstack.c [1.2], zstring.c [1.2],
zsysvm.c [1.2], ztoken.c [1.6], ztrans.c [1.12], ztrap.c [1.2],
ztype.c [1.3], zupath.c [1.2], zusparam.c [1.3], zvmem.c [1.2],
zvmem2.c [1.2]: 2000/09/19 19:00:53 lpd)

Change to avoid multiply defined rect_param when NOPRIVATE is used. This
module uses 4 element X/Y/width/Height, not a gs_rect so xywh_param is a
better name. (zdpnext.c [1.3]: 2000/09/21 15:12:01 rayjj)

Changes the default Windows installation directory from c:\Aladdin to c:\gs.
(dwsetup.cpp [1.4]: 2000/09/22 05:32:17 lpd)

Changes the default Windows Start Menu Folder from "Aladdin" to
"Ghostscript". (dwsetup.cpp [1.5]: 2000/09/22 05:35:02 lpd)

Documentation changes in preparation for 6.30 release. Replaced some contact
information, updated version numbers. (lib/gs_init.ps [1.25]: 2000/10/04
04:33:29 raph)

</pre><h2><a name="6.30 Streams"></a>Streams</h2><pre>

Fixes problems:
	- s_add_filter used min_out_size rather than min_in_size for the
minimum buffer size, which could cause an endless loop when writing to the
filter. (This only affected filters allocated by C code, not by the
PostScript filter operator.) (stream.c [1.7], stream.h [1.6]: 2000/08/16
01:26:22 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (sa85d.c [1.2], sa85d.h [1.2], sa85x.h [1.3], sbcp.c [1.3],
sbcp.h [1.2], sbtx.h [1.2], scanchar.h [1.2], scantab.c [1.2], scf.h [1.2],
scfd.c [1.2], scfe.c [1.2], scfetab.c [1.2], scfparam.c [1.2], scfx.h [1.2],
scommon.h [1.2], sdcparam.c [1.2], sdcparam.h [1.2], sdct.h [1.2],
sdctc.c [1.2], sdctd.c [1.2], sdcte.c [1.2], sddparam.c [1.2],
sdeparam.c [1.2], seexec.c [1.3], sfilter.h [1.6], sfilter2.c [1.3],
sfxboth.c [1.2], sfxfd.c [1.5]: 2000/09/19 19:00:47 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (sfxstdio.c [1.4], shc.c [1.2], shc.h [1.2], siinterp.c [1.2],
siinterp.h [1.2], siscale.c [1.4], siscale.h [1.2], sisparam.h [1.2],
sjpeg.h [1.2], sjpegc.c [1.2], sjpegd.c [1.2], sjpege.c [1.2],
slzwc.c [1.2], slzwce.c [1.2], slzwd.c [1.2], slzwx.h [1.2], smd5.c [1.3],
smd5.h [1.2], spdiff.c [1.3], spdiffx.h [1.2], spngp.c [1.2],
spngpx.h [1.2], spprint.c [1.2], spprint.h [1.2], spsdf.c [1.4],
spsdf.h [1.2], srdline.h [1.2], srld.c [1.2], srle.c [1.2], srlx.h [1.2],
sstring.c [1.2], sstring.h [1.2], stat_.h [1.5], std.h [1.3],
stdio_.h [1.2], stdpre.h [1.2], stream.c [1.8], stream.h [1.7],
strimpl.h [1.2], string_.h [1.2], szlibc.c [1.2], szlibd.c [1.2],
szlibe.c [1.2], szlibx.h [1.2], szlibxx.h [1.2]: 2000/09/19 19:00:50 lpd)

</pre><h2><a name="6.30 Library"></a>Library</h2><pre>

Fixes problems:
	- Parameter lists didn't have proper GC descriptors; garbage
collection could mangle keys and collection values in non-transient
parameter lists (such as distiller parameters). (gscparam.c [1.5]:
2000/08/19 03:01:30 lpd)
	- gdev_vector_dopath could return 1, which value was then propagated
to callers that interpreted it differently. (gdevvec.c [1.5],
gdevvec.h [1.3]: 2000/08/20 00:21:42 lpd)
	- An AIX compiler could get confused if the last elements of a
structure were individual bytes. (gzpath.h [1.2]: 2000/08/24 19:43:48 lpd)
	- If the OutputFile of a high-level device was ever set, any
subsequent execution of setpagedevice would cause a rangecheck in
.installpagedevice. (gdevvec.c [1.6]: 2000/08/31 02:04:50 lpd)
	- Type 2 CharStrings didn't insert an explicit closepath at the end
of each subpath. (This matters for charpath followed by stroke.)
(gstype2.c [1.5]: 2000/08/31 02:16:45 lpd)
	- Type 2 fonts should insert an explicit closepath only if the
font's PaintType != 1. (gstype2.c [1.6]: 2000/08/31 03:21:45 lpd)
	- The BeOS C compiler objected to some int/bool mismatches.
(gp.h [1.4], gxfill.c [1.4], gxtext.h [1.2]: 2000/08/31 03:51:29 lpd)
	- Because "-" as an OutputFile now references the %stdout IODevice,
it no longer worked in configurations without a PostScript interpreter.
Fixing this required factoring out the stdin/out/err IODevices and providing
an implementation that didn't reference the PostScript interpreter.
(gsiodevs.c [1.1], gslib.c [1.2]: 2000/09/07 06:14:45 lpd)
	- Fixes a type error caused by a change in the TransferFunction
member of gs_transparency_mask_params_t. (gstrans.c [1.7]: 2000/09/10
18:20:09 lpd)
	- Several places in the code for ImageType 3x (soft-masked) images
didn't correctly handle the case where only one of the two masks was
supplied (which is always the case for PDF). (gximag3x.c [1.4]: 2000/09/11
02:12:19 lpd)
	- The -Zv tracing messages for gs_begin_transparency_{group,mask}
were incorrect. (gstrans.c [1.10]: 2000/09/12 20:35:05 lpd)
	- Printing the program name and version didn't use fprintf, so it
didn't work properly with the stdout redirection on Windows. (fix from
Artifex) (gsmisc.c [1.7]: 2000/09/18 06:22:35 lpd)
	- Undefined characters in CID-keyed (FMapType 9) composite fonts
caused an infinite loop, because the parsing index was never advanced past
the character. (gsfcmap.c [1.7]: 2000/09/21 02:44:44 lpd)
	- CID-keyed (FMapType 9) composite fonts didn't return the correct
parsed character code, possibly causing widthshow or cshow to produce
incorrect output. (gsfcmap.c [1.8], gsfcmap.h [1.4]: 2000/09/21 03:02:03
lpd)
	- Works around ANSI C's unreasonable new aliasing restrictions.
(gsnogc.c [1.5]: 2000/09/22 04:17:52 lpd)
	- The 'head' table in embedded TrueType fonts had a length of 56; it
should have a length of 54 and be followed by 2 padding bytes.
(gdevpsft.c [1.4]: 2000/09/26 06:42:05 lpd)

Initializes files for the 6.24 fileset. (gscdef.c [1.7]: 2000/08/09 16:54:02
lpd)

Adds the PDF "overprint mode" to the graphics state. THE ACTUAL
FUNCTIONALITY IS NOT IMPLEMENTED YET. (gscsepr.c [1.4], gscsepr.h [1.3],
gsstate.c [1.2], gxclpath.c [1.3], gxclpath.h [1.2], gxclrast.c [1.4],
gxistate.h [1.2]: 2000/08/23 17:54:14 lpd)

Starts to implement the PDF 1.4 transparency features. All API and operator
additions are now implemented (at least as stubs) and documented, as is
bookkeeping for the new scalar graphics state members (but not for the soft
masks or the transparency group stack). (gsistate.c [1.2], gsstate.c [1.3],
gstparam.h [1.1], gstrans.c [1.1], gstrans.h [1.1], gxclpath.c [1.4],
gxclpath.h [1.3], gxclrast.c [1.5], gxistate.h [1.3], gzstate.h [1.2]:
2000/08/23 21:46:31 lpd)

Adds a new equality-testing virtual procedure for color spaces.
(gscdevn.c [1.4], gscolor2.c [1.5], gscpixel.c [1.2], gscscie.c [1.2],
gscsepr.c [1.5], gscspace.c [1.3], gscspace.h [1.3], gspcolor.c [1.3],
gxcspace.h [1.3]: 2000/08/24 05:42:30 lpd)

Changes the band list representation of mask images to allow
BitsPerComponent > 1 (for soft masks). (gximage1.c [1.2]: 2000/08/24
17:58:18 lpd)

Adds Matte and has_Matte members to ImageType 1 images. These are only used
with the new transparency features. (gsiparam.h [1.2], gximage1.c [1.3]:
2000/08/24 19:20:12 lpd)

Partly implements opacity and shape mask bookkeeping. gsave/grestore/etc.
and banding don't do the right thing yet. (gstparam.h [1.2],
gstrans.c [1.2], gstrans.h [1.2], gxcldev.h [1.2], gxclpath.c [1.5],
gxclpath.h [1.4]: 2000/08/25 01:46:48 lpd)

Changes remove_range_from_freelist to only scan relevant freelists, rather
than all of them. On some files, the speedup is dramatic. (gsalloc.c [1.6]:
2000/08/26 01:18:33 lpd)

Completes an edit that accidentally left the repository in an inconsistent
state. (gxclpath.c [1.6], gxclrast.c [1.6]: 2000/08/26 03:19:56 lpd)

Implements some minor improvements to the freelist algorithms that can
produce nearly a factor of 2 speedup in some allocation-intensive
situations. (gsalloc.c [1.7], gxalloc.h [1.4]: 2000/08/26 03:21:34 lpd)

Brings the (still mostly stubbed) transparency code to a more
self-consistent state. (gsipar3x.h [1.1], gsiparam.h [1.3],
gsstruct.h [1.4], gstparam.h [1.3], gstrans.c [1.3], gstrans.h [1.3],
gxclpath.c [1.7], gxclpath.h [1.5], gxclrast.c [1.7], gximag3x.c [1.1],
gximag3x.h [1.1], gximage1.c [1.4], gxistate.h [1.4]: 2000/08/30 01:34:40
lpd)

Finishes the code for parsing ImageType 103 (soft-mask) images.
(gximag3x.c [1.2]: 2000/08/30 04:29:56 lpd)

Completes the parsing of .{begin,end}transparency{group,mask}, except for
the TransferFunction for masks. The specification is still subject to
change. (gstparam.h [1.4], gstrans.c [1.4], gstrans.h [1.4]: 2000/08/30
15:03:36 lpd)

Adds documentation on proposed driver interface additions for managing the
transparency rendering stack. (gstrans.c [1.5]: 2000/08/31 20:22:47 lpd)

Adds color space type names for tracing/debugging. (gscspace.h [1.4]:
2000/09/10 05:21:44 lpd)

Changes the -Zv switch to trace alpha/transparency-related features.
(gdevabuf.c [1.2]: 2000/09/10 05:23:10 lpd)

Implements another chunk of the PDF 1.4 transparency features, fixing some
bugs in the previous code. (gstparam.h [1.5], gstrans.c [1.6],
gximag3x.c [1.3]: 2000/09/10 05:26:27 lpd)

Moves the Matte entry of soft mask images from the main structure to the
mask structures, and changes Matted to has_Matte. (gsipar3x.h [1.2],
gximag3x.c [1.5], gximag3x.h [1.2]: 2000/09/11 04:08:13 lpd)

Adds a default implementation of soft-masked images that simply ignores the
mask. (gximag3x.c [1.6]: 2000/09/11 04:38:01 lpd)

Upgrades the proposed driver interface transparency extension from comments
to macros, changing the name 'discard_transparency_level' to
'discard_transparency_layer'. (gstrans.c [1.8], gstrans.h [1.5]: 2000/09/11
20:13:31 lpd)

Finishes the (dummy) implementation of the transparency layer stack in the
graphics library. (gsistate.c [1.3], gsstate.c [1.4], gstparam.h [1.6],
gstrans.c [1.9], gxistate.h [1.5]: 2000/09/11 22:20:05 lpd)

Makes the default string matching parameters public. (gsutil.c [1.3],
gsutil.h [1.2]: 2000/09/12 02:02:52 lpd)

*** empty log message *** (gsmisc.c [1.6]: 2000/09/15 03:01:51 alexcher)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (close_.h [1.2], ctype_.h [1.2], dirent_.h [1.2],
dos_.h [1.2], errno_.h [1.2], fcntl_.h [1.3], gconf.c [1.2], gconf.h [1.2],
gdebug.h [1.2], gdevabuf.c [1.3], gdevalph.c [1.2], gdevbbox.c [1.3],
gdevbbox.h [1.2]: 2000/09/19 19:00:09 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevcmap.c [1.2], gdevcmap.h [1.2], gdevdbit.c [1.2],
gdevddrw.c [1.2], gdevdflt.c [1.3], gdevdgbr.c [1.2], gdevdrop.c [1.3],
gdevemap.c [1.2], gdevhit.c [1.2], gdevht.c [1.3], gdevht.h [1.2],
gdevm1.c [1.2], gdevm16.c [1.2], gdevm2.c [1.2], gdevm24.c [1.2],
gdevm32.c [1.2], gdevm4.c [1.2], gdevm8.c [1.2], gdevmem.c [1.2],
gdevmem.h [1.3], gdevmpla.c [1.2], gdevmpla.h [1.2], gdevmr1.c [1.2],
gdevmr2n.c [1.2], gdevmr8n.c [1.2], gdevmrop.h [1.3], gdevmrun.c [1.2],
gdevmrun.h [1.2], gdevnfwd.c [1.3]: 2000/09/19 19:00:12 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevpipe.c [1.3], gdevplnx.c [1.2], gdevplnx.h [1.2],
gdevppla.c [1.2], gdevppla.h [1.2], gdevprn.c [1.5], gdevprn.h [1.6],
gdevprna.c [1.2], gdevprna.h [1.2], gdevpsf.h [1.7], gdevpsf1.c [1.5],
gdevpsf2.c [1.7], gdevpsfm.c [1.3], gdevpsft.c [1.3], gdevpsfu.c [1.4],
gdevpsfx.c [1.5], gdevrops.c [1.3]: 2000/09/19 19:00:20 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gdevtrac.c [1.2], gdevvec.c [1.7], gdevvec.h [1.4],
gp.h [1.5], gp_dosfe.c [1.2], gp_dosfs.c [1.2], gp_getnv.c [1.2],
gp_msdos.c [1.2], gp_nsync.c [1.2], gp_psync.c [1.2], gp_strdl.c [1.2],
gp_unifn.c [1.2], gp_unifs.c [1.3], gpcheck.h [1.2], gpgetenv.h [1.2],
gpmisc.c [1.7], gpmisc.h [1.2], gpsync.h [1.2], gsalloc.c [1.8],
gsalloc.h [1.2], gsalpha.c [1.2], gsalpha.h [1.2], gsalphac.c [1.2],
gsalphac.h [1.2], gsargs.c [1.2], gsargs.h [1.3], gsbitmap.h [1.2],
gsbitops.c [1.2], gsbitops.h [1.2], gsbittab.c [1.2], gsbittab.h [1.2]:
2000/09/19 19:00:23 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gsccode.h [1.4], gsccolor.h [1.2], gscdef.c [1.8],
gscdefs.h [1.2], gscdevn.c [1.5], gscdevn.h [1.3], gschar.c [1.3],
gschar.h [1.3], gschar0.c [1.2], gscie.c [1.3], gscie.h [1.2],
gsciemap.c [1.3], gscindex.h [1.2], gsclipsr.c [1.2], gsclipsr.h [1.2],
gscolor.c [1.4], gscolor.h [1.3], gscolor1.c [1.3], gscolor1.h [1.2],
gscolor2.c [1.6], gscolor2.h [1.3], gscolor3.c [1.4], gscolor3.h [1.2],
gscompt.h [1.2], gscoord.c [1.5], gscoord.h [1.2], gscparam.c [1.6],
gscpixel.c [1.3], gscpixel.h [1.2], gscpm.h [1.2], gscrd.c [1.2],
gscrd.h [1.2], gscrdp.c [1.2], gscrdp.h [1.2], gscrypt1.c [1.2],
gscrypt1.h [1.2], gscscie.c [1.3], gscsel.h [1.2], gscsepnm.h [1.2],
gscsepr.c [1.6], gscsepr.h [1.4], gscspace.c [1.4], gscspace.h [1.5],
gscssub.c [1.2], gscssub.h [1.2], gsdcolor.h [1.3], gsdevice.c [1.7],
gsdevice.h [1.3], gsdevmem.c [1.2], gsdparam.c [1.4], gsdpnext.h [1.2],
gsdps.c [1.2], gsdps.h [1.2], gsdps1.c [1.2], gsdsrc.c [1.2],
gsdsrc.h [1.3], gserror.h [1.2], gserrors.h [1.2], gsexit.h [1.2],
gsfcid.c [1.4], gsfcmap.c [1.6], gsfcmap.h [1.3], gsfemu.c [1.2],
gsflip.c [1.2], gsflip.h [1.2], gsfname.c [1.2], gsfname.h [1.2],
gsfont.c [1.2], gsfont.h [1.2], gsfont0.c [1.2], gsfunc.c [1.4],
gsfunc.h [1.4], gsfunc0.c [1.3], gsfunc0.h [1.2], gsfunc3.c [1.4],
gsfunc3.h [1.2], gsfunc4.c [1.3], gsfunc4.h [1.2], gsfuncv.c [1.2],
gsfuncv.h [1.2]: 2000/09/19 19:00:26 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gsgc.h [1.2], gshsb.c [1.2], gshsb.h [1.2], gsht.c [1.2],
gsht.h [1.2], gsht1.c [1.2], gsht1.h [1.2], gshtscr.c [1.3], gshtx.c [1.2],
gshtx.h [1.2], gsimage.c [1.3], gsimage.h [1.2], gsimpath.c [1.2],
gsinit.c [1.2], gsio.h [1.4], gsiodev.c [1.3], gsiodevs.c [1.2],
gsipar3x.h [1.3], gsiparam.h [1.4], gsiparm2.h [1.2], gsiparm3.h [1.4],
gsiparm4.h [1.2], gsistate.c [1.4], gsjconf.h [1.2], gslib.c [1.3],
gslib.h [1.2], gsline.c [1.2], gsline.h [1.2], gslparam.h [1.2],
gsmalloc.c [1.3], gsmalloc.h [1.2], gsmatrix.c [1.2], gsmatrix.h [1.2],
gsmdebug.h [1.2], gsmemlok.c [1.3], gsmemlok.h [1.2], gsmemory.c [1.2],
gsmemory.h [1.2], gsmemraw.h [1.2], gsmemret.c [1.2], gsmemret.h [1.2],
gsmisc.c [1.8], gsnogc.c [1.4], gsnogc.h [1.2], gsnorop.c [1.2],
gsnotify.c [1.2], gsnotify.h [1.2], gspaint.c [1.2], gspaint.h [1.2],
gsparam.c [1.4], gsparam.h [1.7], gsparam2.c [1.2], gsparams.c [1.2],
gsparams.h [1.2], gsparamx.c [1.3], gsparamx.h [1.3], gspath.c [1.2],
gspath.h [1.2], gspath1.c [1.2], gspath2.h [1.2], gspcolor.c [1.4],
gspcolor.h [1.2], gspenum.h [1.2], gsptype1.c [1.2], gsptype1.h [1.2]:
2000/09/19 19:00:29 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gsptype2.c [1.3], gsptype2.h [1.2], gsrect.h [1.2],
gsrefct.h [1.2], gsrop.c [1.2], gsrop.h [1.2], gsropc.c [1.2],
gsropc.h [1.2], gsropt.h [1.3], gsroptab.c [1.2], gsshade.c [1.3],
gsshade.h [1.3], gsstate.c [1.5], gsstate.h [1.2], gsstruct.h [1.5],
gsstype.h [1.2], gstext.c [1.3], gstext.h [1.3], gstparam.h [1.7],
gstrans.c [1.11], gstrans.h [1.6], gstrap.c [1.3], gstrap.h [1.3],
gstype1.c [1.5], gstype1.h [1.2], gstype2.c [1.7], gstype42.c [1.7],
gstypes.h [1.2], gsuid.h [1.2], gsutil.c [1.4], gsutil.h [1.3],
gsxfont.h [1.2], gx.h [1.2], gxacpath.c [1.3], gxalloc.h [1.5],
gxalpha.h [1.2], gxarith.h [1.2], gxband.h [1.2], gxbcache.c [1.2],
gxbcache.h [1.2], gxbitfmt.h [1.2], gxbitmap.h [1.2], gxbitops.h [1.2],
gxccache.c [1.2], gxccman.c [1.2], gxcdevn.h [1.2], gxchar.c [1.2],
gxchar.h [1.2], gxchrout.c [1.2], gxchrout.h [1.2], gxcht.c [1.2],
gxcid.h [1.3], gxcie.h [1.2], gxcindex.h [1.2], gxclbits.c [1.2],
gxcldev.h [1.3], gxclfile.c [1.2], gxclimag.c [1.2], gxclio.h [1.2],
gxclip.c [1.3], gxclip.h [1.2], gxclip2.c [1.3], gxclip2.h [1.2],
gxclipm.c [1.3], gxclipm.h [1.2], gxclipsr.h [1.2], gxclist.c [1.3],
gxclist.h [1.2], gxcllzw.c [1.2], gxclmem.c [1.2], gxclmem.h [1.2]:
2000/09/19 19:00:32 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gxclpage.c [1.2], gxclpage.h [1.2], gxclpath.c [1.8],
gxclpath.h [1.6], gxclrast.c [1.8], gxclread.c [1.2], gxclrect.c [1.2],
gxclutil.c [1.2], gxclzlib.c [1.2], gxcmap.c [1.3], gxcmap.h [1.2],
gxcolor2.h [1.4], gxcomp.h [1.2], gxcoord.h [1.2], gxcpath.c [1.3],
gxcpath.h [1.2], gxcspace.h [1.4], gxctable.c [1.3], gxctable.h [1.2],
gxcvalue.h [1.2], gxdcconv.c [1.3], gxdcconv.h [1.2], gxdcolor.c [1.3],
gxdcolor.h [1.3], gxdda.h [1.2], gxdevbuf.h [1.2], gxdevcli.h [1.3],
gxdevice.h [1.4], gxdevmem.h [1.2], gxdevrop.h [1.2], gxdht.h [1.4],
gxdhtres.h [1.2], gxdither.c [1.2], gxdither.h [1.2], gxfarith.h [1.3],
gxfcache.h [1.2], gxfcid.h [1.6], gxfcmap.h [1.5], gxfill.c [1.5],
gxfixed.h [1.2], gxfmap.h [1.3], gxfont.h [1.2], gxfont0.h [1.3],
gxfont1.h [1.4], gxfont42.h [1.4], gxfrac.h [1.2], gxftype.h [1.2],
gxfunc.h [1.3], gxgetbit.h [1.2], gxhint1.c [1.2], gxhint2.c [1.2],
gxhint3.c [1.2], gxht.c [1.2], gxht.h [1.2], gxhtbit.c [1.3],
gxhttile.h [1.2], gxhttype.h [1.2], gxi12bit.c [1.2], gxiclass.h [1.2],
gxicolor.c [1.2], gxidata.c [1.4], gxifast.c [1.2], gximag3x.c [1.7]:
2000/09/19 19:00:35 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gximag3x.h [1.3], gximage.c [1.2], gximage.h [1.2],
gximage1.c [1.5], gximage2.c [1.2], gximage3.c [1.6], gximage3.h [1.4],
gximage4.c [1.3], gximono.c [1.2], gxino12b.c [1.2], gxiodev.h [1.2],
gxiparam.h [1.2], gxipixel.c [1.2], gxiscale.c [1.2], gxistate.h [1.6],
gxline.h [1.2], gxlum.h [1.2], gxmatrix.h [1.4], gxmclip.c [1.2],
gxmclip.h [1.2], gxobj.h [1.2], gxop1.h [1.2], gxp1fill.c [1.2],
gxp1impl.h [1.2], gxpageq.c [1.2], gxpageq.h [1.2], gxpaint.c [1.2],
gxpaint.h [1.2], gxpath.c [1.2], gxpath.h [1.2], gxpath2.c [1.2],
gxpcache.h [1.2], gxpcmap.c [1.3], gxpcolor.h [1.2], gxpcopy.c [1.3],
gxpdash.c [1.2], gxpflat.c [1.2], gxropc.h [1.2], gxrplane.h [1.2],
gxsample.c [1.2], gxsample.h [1.2], gxshade.c [1.4], gxshade.h [1.3],
gxshade1.c [1.5], gxshade4.c [1.3], gxshade4.h [1.2], gxshade6.c [1.3],
gxstate.h [1.2], gxstdio.h [1.2], gxstroke.c [1.2], gxsync.c [1.2],
gxsync.h [1.2], gxtext.h [1.3], gxtmap.h [1.2], gxttf.h [1.2],
gxtype1.c [1.6], gxtype1.h [1.4], gxxfont.h [1.2], gzacpath.h [1.2],
gzcpath.h [1.2], gzht.h [1.3], gzline.h [1.2], gzpath.h [1.3]: 2000/09/19
19:00:38 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gzstate.h [1.3]: 2000/09/19 19:00:41 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (jerror_.h [1.2], malloc_.h [1.2], math_.h [1.2],
memory_.h [1.2], pipe_.h [1.2]: 2000/09/19 19:00:47 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (time_.h [1.2], vmsmath.h [1.2], windows_.h [1.2]: 2000/09/19
19:00:51 lpd)

Bring version numbers and dates up to date. Small bug fix in toolbin/pre to
make it able to handle months with leading zeros. (gscdef.c [1.9]:
2000/10/04 05:18:54 raph)

</pre><h2><a name="6.30 ???Other???"></a>???Other???</h2><pre>

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gp_mswin.h [1.2]: 2000/09/19 19:00:24 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gsdll.h [1.2], gsdll32w.lnk [1.2], gsdllos2.h [1.2],
gsdllwin.h [1.2], gsjmorec.h [1.2]: 2000/09/19 19:00:27 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (gspmdrv.h [1.2]: 2000/09/19 19:00:31 lpd)

Updates the license notices to reflect the name change from Aladdin
Ghostscript to AFPL Ghostscript, as well as some internal references to the
program name. (iutilasm.asm [1.2]: 2000/09/19 19:00:46 lpd)

<hr>

<h1><a name="Version6.23"></a>Version 6.23 (2000-08-07)</h1>

<p>
This fileset consists mostly of bug fixes.

<p>
All problems registered on SourceForge numbered 110922 or lower are closed,
except for the following: 101549, 101814, 101905, 101955, 102146, 102735,
104118, 105289, 105558, 106340, 106652, 109350, 110445, 110898, 110922.

<p>
The following projects are in a partially completed state in the PDF writer:

<ul>

<li>CID-keyed fonts (gdevpdf[eftw].c) -- barely started.

</ul>

<pre>

<h2><a name="6.23_Incompatible_changes"></a>Incompatible changes</h2>

(Drivers)
	- With high-level drivers ([e]pswrite, pdfwrite, pxl*, cgm*),
changing the OutputFile after writing one or more pages now causes an error.
(Interpreter)
	- By default, copydevice will only copy a device prototype.
	- Some internal references to contexts in zcontext.c are changed
from direct pointers to context indices.
	- Renames internal types to add a _t: ctx_list, ctx_status,
gs_context, gs_condition, gs_lock.
(Library)
	- By default, gs_copydevice[2] will only copy a device prototype.


<h2><a name="6.23 Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- Local GC in a multi-context system caused a crash. Also updates
all the internal type names in zcontext.c by adding a _t suffix if
necessary. (doc/News.htm [1.54]: 2000/07/10 23:56:55 lpd)
	- With some high-level drivers, changing the OutputFile after
opening the device could cause a crash. After the fix, doing this works
properly if no pages have actually been written out, but causes a rangecheck
error if any pages have been written. (This is required to maintain internal
consistency.) (doc/News.htm [1.55]: 2000/07/12 14:02:03 lpd)
	- The documented limit on the length of a file name was incorrect.
(doc/Language.htm [1.9]: 2000/08/03 06:45:25 lpd)

Increments the version number, in preparation for the next fileset.
(doc/News.htm [1.52]: 2000/07/06 02:45:06 lpd)

Adds a finish_copydevice device procedure, for cleaning up after copying the
bits of a device prototype or instance. For safety, the default
implementation only allows copying the prototype, not instances. This is a
NON-BACKWARD-COMPATIBLE change; however, using copydevice on a device
instance never worked reliably, so it should not have been used this way
before. (doc/Drivers.htm [1.4], doc/News.htm [1.53]: 2000/07/06 04:13:24
lpd)

Updates the references to the Computer Modern Fontmap on CTAN.
(doc/Fonts.htm [1.5], doc/New-user.htm [1.8]: 2000/07/09 23:29:25 lpd)

Updates a couple of release procedures. (doc/Release.htm [1.15]: 2000/07/10
19:32:59 lpd)

Adds documentation and a script for preparing GNU releases from Aladdin
releases. (doc/Release.htm [1.16]: 2000/07/17 17:10:57 lpd)

Clarifies that device parameters set with -d or -s can be changed
subsequently. (doc/Use.htm [1.8]: 2000/07/17 20:13:03 lpd)

Adds a project for making Ghostscript work as a Netscape browser plug-in.
(doc/Projects.htm [1.13]: 2000/07/19 22:50:18 lpd)

Removes the SVG driver from the list of projects, since there is a group
close to completing one (referenced from the Ghostscript home page on the
Web). (doc/Projects.htm [1.14]: 2000/07/20 14:49:52 lpd)

Directs users to the Ghostscript home page on the Web for information about
third-party drivers. (doc/New-user.htm [1.9]: 2000/07/20 14:50:34 lpd)

Adds a partially implemented driver that just produces a trace of its
drawing calls. This driver also serves as a minimal example of how to
implement the high-level driver operations. (doc/Drivers.htm [1.5]:
2000/07/29 04:00:00 lpd)

Updates dates and version #s for the 6.23 fileset. (doc/Bug-info.htm [1.4],
doc/Changes.htm [1.15], doc/Drivers.htm [1.6], doc/Fonts.htm [1.6],
doc/History5.htm [1.3], doc/Htmstyle.htm [1.4], doc/Install.htm [1.5],
doc/Language.htm [1.10], doc/New-user.htm [1.10], doc/News.htm [1.56],
doc/Projects.htm [1.15], doc/Ps2pdf.htm [1.15], doc/Release.htm [1.17],
doc/Use.htm [1.9], man/ps2ps.1 [1.6]: 2000/08/07 17:48:09 lpd)

</pre><h2><a name="6.23 Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- $(GLGEN)/md5.h wasn't deleted after compilation. (lib.mak [1.26]:
2000/07/09 23:19:59 lpd)
	- TrueType font loading now requires the Adobe glyph list, but this
dependency was missing from the makefile. (int.mak [1.26]: 2000/07/19
08:11:15 lpd)
	- During compilation, GLSRCDIR was searched before GLGENDIR. (We're
very surprised that this didn't cause detectable trouble before.)
(lib.mak [1.27]: 2000/07/19 14:32:00 lpd)
	- The dependency on gsparamx.$(OBJ) was incorrectly attached to
pdfwrite.dev rather than psdf.dev. (devs.mak [1.30]: 2000/08/03 17:42:52
lpd)
	- 'pre' didn't work with dates in August or September (Tcl doesn't
accept 08 and 09 as valid numbers). (toolbin/pre [1.5]: 2000/08/07 17:35:27
lpd)

Increments the version number, in preparation for the next fileset.
(version.mak [1.17]: 2000/07/06 02:45:06 lpd)

Adds some user-contributed comments about using the Canon BJ200 driver with
the BJ300. (contrib.mak [1.18]: 2000/07/11 15:33:19 lpd)

Updates the (user-contributed) all-architecture build script to work around
a detail in the SGI IRIX C library header files. (all-arch.mak [1.4]:
2000/07/15 19:23:45 lpd)

Adds documentation and a script for preparing GNU releases from Aladdin
releases. (toolbin/makegnu.tcl [1.1]: 2000/07/17 17:10:57 lpd)

Adds a partially implemented driver that just produces a trace of its
drawing calls. This driver also serves as a minimal example of how to
implement the high-level driver operations. (lib.mak [1.28]: 2000/07/29
04:00:00 lpd)

Changes 'gsmake' to report line number rather than character position for
errors and warnings. (toolbin/gsmake.tcl [1.3]: 2000/08/07 17:22:27 lpd)

Updates dates and version #s for the 6.23 fileset. (version.mak [1.18]:
2000/08/07 17:48:10 lpd)

Adds some missing dependencies. (int.mak [1.27], lib.mak [1.29]: 2000/08/07
17:52:22 lpd)

</pre><h2><a name="6.23 Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- An invalid file name or pattern passed to filenameforall would
(incorrectly) return an empty string rather than not returning any file
names at all. (gp_vms.c [1.3]: 2000/07/09 21:09:51 lpd)
	- Some DOS/Windows script files didn't use 'call', so they would
terminate execution prematurely if called from another script file.
(lib/ps2pdf.bat [1.5], lib/ps2pdf12.bat [1.4], lib/ps2pdf13.bat [1.4],
lib/ps2pdfxx.bat [1.8]: 2000/07/24 15:12:21 lpd)

</pre><h2><a name="6.23 Drivers"></a>Drivers</h2><pre>

Implements finish_copydevice for X windows, to allow copying instances as
well as the prototype. (gdevx.c [1.4], gdevx.h [1.3], gdevxini.c [1.7]:
2000/07/06 05:29:46 lpd)

Adds some user-contributed comments about using the Canon BJ200 driver with
the BJ300. (gdevbj10.c [1.2]: 2000/07/11 15:33:19 lpd)

</pre><h2><a name="6.23 PDF writer"></a>PDF writer</h2><pre>

Fixes problems:
	- M_2PI was predefined on some systems. (gdevpdfg.c [1.6]:
2000/07/09 23:11:31 lpd)
	- The word and character spacing values were not tracked correctly
when mixing text and graphics, sometimes producing horizontally misplaced
text. (gdevpdf.c [1.18], gdevpdfg.c [1.7], gdevpdfu.c [1.10],
gdevpdfx.h [1.19]: 2000/07/11 14:33:54 lpd)
	- 'show'ing an empty string could cause the next string to be
positioned incorrectly. (gdevpdft.c [1.14]: 2000/07/27 14:18:11 lpd)

Updates font embedding code to handle CIDFontType 2 fonts. NOT TESTED.
(gdevpdfe.c [1.3]: 2000/07/27 04:18:13 lpd)

Adds glyphs_used to FontDescriptors and pfd to std_fonts in the device
structure. WORK IN PROGRESS. (gdevpdf.c [1.19], gdevpdff.c [1.7],
gdevpdff.h [1.3], gdevpdfx.h [1.20]: 2000/07/27 04:19:24 lpd)

</pre><h2><a name="6.23 Interpreter (PDF)"></a>Interpreter (PDF)</h2><pre>

Fixes problems:
	- If a badly-constructed PDF file referenced one of the 12 base
alphabetic fonts explicitly as a TrueType font (e.g., /BaseFont
/TimesNewRoman /Subtype /TrueType) without embedding it, the substituted
Type 1 font had the wrong Encoding. (lib/pdf_font.ps [1.10]: 2000/07/10
13:18:28 lpd)
	- Piped input beginning with a % caused an ioerror. (bug introduced
in 6.22) (lib/pdf_main.ps [1.10]: 2000/07/14 05:30:19 lpd)
	- As a result of some recent changes to fix other problems, setting
certain text state parameters (Tf, Ts, Tz) outside of text mode (BT/ET)
caused an error. (lib/pdf_ops.ps [1.6]: 2000/07/19 15:57:54 lpd)
	- Setting a singular text matrix (e.g., 0 0 0 0 <x> <y> Tm) caused
an error. (lib/pdf_ops.ps [1.7]: 2000/08/04 16:08:05 lpd)

</pre><h2><a name="6.23 Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- Removes the '?' procedure, which was defined solely for the
convenience of users who don't read the documentation and which interfered
with the operation of some code produced by the Adobe PS5 Windows driver.
(lib/gs_init.ps [1.18]: 2000/07/09 22:34:30 lpd)
	- A constant 1 should have been 1L, causing a warning on systems
where sizeof(long) > sizeof(int). (zarith.c [1.3]: 2000/07/09 23:10:58 lpd)
	- The workaround for attempting to set a 4-element PageSize value in
a page device sometimes caused an error. (bug introduced in 6.21)
(lib/gs_setpd.ps [1.4]: 2000/07/10 12:48:54 lpd)
	- Redefining setcolorspace could cause an infinite recursion.
(lib/gs_lev2.ps [1.5]: 2000/07/10 13:35:24 lpd)
	- Local GC in a multi-context system caused a crash. Also updates
all the internal type names in zcontext.c by adding a _t suffix if
necessary. (zcontext.c [1.4]: 2000/07/10 23:56:55 lpd)
	- A garbage collection occurring within a save could cause a memory
access error. (bug introduced in 6.22) (zcontext.c [1.5]: 2000/07/14
05:28:56 lpd)
	- Piped input beginning with a % caused an ioerror. (bug introduced
in 6.22) (zfileio.c [1.8]: 2000/07/14 05:30:19 lpd)
	- A garbage collection occurring while scanning a binary token
sequence could cause a syntaxerror or corrupted data. (iscan.c [1.3]:
2000/07/18 15:39:02 lpd)
	- (correction) An interruption (including a callout for a
procedure-based stream), not a garbage collection, while scanning a binary
token sequence could cause a syntaxerror or corrupted data. (iscan.c [1.4]:
2000/07/18 15:41:55 lpd)
	- When loading a TrueType font, invalid glyph numbers in the 'post'
table (which appear in some Adobe-created PDF files) caused an error instead
of being ignored; a test was backwards, causing some embedded TrueType fonts
in PDF files to produce a rangecheck error. (lib/gs_ttf.ps [1.6]: 2000/07/19
08:12:41 lpd)
	- When NOPROMPT was set, no flush or flushpage occurred at the end
of a page. (fix from an anonymous user on SourceForge)
(lib/gs_init.ps [1.19]: 2000/07/20 01:40:50 lpd)
	- Type 1 or Type 2 fonts with invalid LanguageGroup values < 0
caused an error. (Such fonts are invalid, but some real fonts have garbage
LanguageGroup values, and Adobe software doesn't give an error.)
(zfont1.c [1.6]: 2000/07/24 18:08:38 lpd)
	- Errors while executing gs_init.ps and other PostScript
initialization files were sometimes ignored, leading to mysterious error
messages later. (imainarg.c [1.3]: 2000/08/03 06:43:17 lpd)
	- Showing text with a singular matrix (scaling matrix x CTM) could
leave extraneous values on the operand stack. (zchar1.c [1.4]: 2000/08/04
16:09:30 lpd)

Increments the version number, in preparation for the next fileset.
(lib/gs_init.ps [1.15]: 2000/07/06 02:45:06 lpd)

Redefines [gs_]copydevice in terms of a new gs_copydevice2/.copydevice2,
which adds a Boolean keep_open argument that requests (but does not
guarantee) that a copy of an open device remain open.
(lib/gs_init.ps [1.16], zdevice.c [1.2]: 2000/07/06 03:26:13 lpd)

Adds a finish_copydevice device procedure, for cleaning up after copying the
bits of a device prototype or instance. For safety, the default
implementation only allows copying the prototype, not instances. This is a
NON-BACKWARD-COMPATIBLE change; however, using copydevice on a device
instance never worked reliably, so it should not have been used this way
before. (lib/gs_init.ps [1.17]: 2000/07/06 04:13:24 lpd)

Adds the ability to load CIDFont resources from CFF OpenType font files.
(lib/gs_cff.ps [1.6], lib/gs_cidfn.ps [1.16]: 2000/07/29 05:58:28 lpd)

Ensures that errordict has at least one empty entry, for the sake of some
astonishingly bad PostScript code that tests for this and has a bug in the
case where it isn't true. (lib/gs_init.ps [1.20]: 2000/08/04 04:29:45 lpd)

</pre><h2><a name="6.23 Library"></a>Library</h2><pre>

Fixes problems:
	- Some coordinate computations for Type 1 fonts could lose far too
much precision if _fixed_shift was reduced. (gscoord.c [1.2],
gxmatrix.h [1.2]: 2000/07/11 09:25:46 lpd)
	- If the current color space was DeviceRGB, gs_currentgray returned
the wrong value. (bug introduced in 6.22) (gscolor.c [1.3]: 2000/07/11
14:00:09 lpd)
	- With some high-level drivers, changing the OutputFile after
opening the device could cause a crash. After the fix, doing this works
properly if no pages have actually been written out, but causes a rangecheck
error if any pages have been written. (This is required to maintain internal
consistency.) (gdevvec.c [1.4]: 2000/07/12 14:02:04 lpd)
	- A file had accidentally acquired an incorrect license notice.
(gscoord.c [1.4]: 2000/07/13 02:02:09 lpd)
	- Type 2 fonts that used the 'hflex' operator could produce
distorted characters (e.g., slanted bottoms). (gstype2.c [1.4]: 2000/07/13
02:09:21 lpd)
	- The use of macros within procedure argument lists confused
ansi2knr. (gximage3.c [1.5], gximage3.h [1.3]: 2000/07/19 14:30:45 lpd)
	- Freeing a locking allocator could cause infinite recursion.
(gsmemlok.c [1.2]: 2000/07/19 21:32:12 lpd)
	- "Accurate curves" was a no-op for certain cases of horizontal or
vertical tangents. (gxpcopy.c [1.2]: 2000/08/05 01:04:28 lpd)

Increments the version number, in preparation for the next fileset.
(gscdef.c [1.5]: 2000/07/06 02:45:06 lpd)

Redefines [gs_]copydevice in terms of a new gs_copydevice2/.copydevice2,
which adds a Boolean keep_open argument that requests (but does not
guarantee) that a copy of an open device remain open. (gsdevice.c [1.5],
gsdevice.h [1.2]: 2000/07/06 03:26:13 lpd)

Adds a finish_copydevice device procedure, for cleaning up after copying the
bits of a device prototype or instance. For safety, the default
implementation only allows copying the prototype, not instances. This is a
NON-BACKWARD-COMPATIBLE change; however, using copydevice on a device
instance never worked reliably, so it should not have been used this way
before. (gdevbbox.c [1.2], gdevdflt.c [1.2], gdevht.c [1.2],
gdevmem.h [1.2], gdevnfwd.c [1.2], gdevprn.h [1.5], gdevrops.c [1.2],
gsdevice.c [1.6], gxacpath.c [1.2], gxclip.c [1.2], gxclip2.c [1.2],
gxclipm.c [1.2], gxclist.c [1.2], gxdevcli.h [1.2], gxdevice.h [1.3],
gxpcmap.c [1.2]: 2000/07/06 04:13:24 lpd)

Adds a little more tracing output for images. (gxidata.c [1.3]: 2000/07/09
21:04:25 lpd)

Adds _simple_final structure type definition macros. (gsstruct.h [1.3]:
2000/07/10 15:43:30 lpd)

Removes a structure member no longer needed after a recent fix.
(gscoord.c [1.3], gxmatrix.h [1.3]: 2000/07/12 04:49:43 lpd)

Adds the ability to write subsetted CIDFontType 2 (TrueType-based) fonts.
(gdevpsf.h [1.6], gdevpsft.c [1.2], gdevpsfu.c [1.3], gxfcid.h [1.5]:
2000/07/21 01:09:16 lpd)

Adds a partially implemented driver that just produces a trace of its
drawing calls. This driver also serves as a minimal example of how to
implement the high-level driver operations. (gdevtrac.c [1.1]: 2000/07/29
04:00:00 lpd)

Improves the smoothness of ShadingType 4 - 7 gradient fills.
(gxshade4.c [1.2], gxshade6.c [1.2]: 2000/08/03 20:47:48 lpd)

Updates dates and version #s for the 6.23 fileset. (gscdef.c [1.6]:
2000/08/07 17:48:10 lpd)

<hr>

<h1><a name="Version6.22"></a>Version 6.22 (2000-07-05)</h1>

<p>
This fileset consists mostly of bug fixes.  It also further improves the PDF
writer, which now handles ImageType 3 images and PatternType 2 (shading)
patterns.

<p>
All problems registered on SourceForge numbered 108819 or lower are closed,
except for the following: 101549, 101814, 101905, 101955, 102146, 102735,
104118, 105289, 105558, 106340, 106652, 108639.

<p>
The following projects are in a partially completed state in the PDF writer:

<ul>

<li>CID-keyed fonts (gdevpdf[eftw].c) -- barely started.

</ul>

<pre>

<h2><a name="6.22_Incompatible_changes"></a>Incompatible changes</h2>

(Procedures)
	- Versions now have odd numbers during development, even numbers
when released.
	- The TMPDIR environment variable, if set, now takes precedence
over TEMP.
	- On MS-DOS, MS Windows, and OS/2 platforms, the batch files that
invoke Ghostscript now use a default name of gswin32 or gswin32c rather than
simply gs.
(Drivers)
	- The PCL drivers now select a given paper size if the requested
height is at least 0.1" greater than the height of the next smaller paper
size, rather than if the requested height is at least as large as that of
the given paper size.
(Interpreter)
	- user_names_p and system_names_p may now be NULL: clients must
check this.
	- scan_comment_proc and scan_dsc_proc are now deprecated, and will
disappear in the near future.
	- The values in psuserparams are now checking procedures rather
than parameter values.
	- Comments beginning with %! are treated as "DSC comments", like
comments beginning with %%.
(Library)
	- The macro for declaring the fill_rectangle procedure of a shading
is now upper-case.  The fill_rectangle procedure is now a member of a procs
structure; there is a new macro for calling it.
	- The parameter list and return value for gs_currentgray have
changed.  This is very unfortunate, but it was unavoidable.


<h2><a name="6.22 Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- The batch files for MS-DOS, MS Windows, and OS/2 referred to the
executable by the name 'gs'. They now use environment variables GS
(graphical) and GSC (console) for the executable names, defaulting to
gswin32 and gswin32c respectively. (doc/News.htm [1.45], doc/Use.htm [1.6]:
2000/05/20 20:53:04 lpd)
	- The -dCompatibilityLevel= switch was incorrectly identified in one
place as -dCompatibility=. (doc/Ps2pdf.htm [1.11]: 2000/05/22 21:29:45 lpd)
	- [gs_]currentgray didn't return the correct value if the current
color space was a DeviceN space using the alternate space.
(doc/News.htm [1.49]: 2000/07/03 15:28:26 lpd)
	- Fixes a couple of typos. (doc/Release.htm [1.12]: 2000/07/04
19:19:38 lpd)
	- The "smoke test" procedure for fileset releases didn't stress the
banding code nearly as hard as intended. (doc/Release.htm [1.13]: 2000/07/05
04:50:13 lpd)

Adds predefined pdfwrite settings similar to the three standard settings in
Adobe Acrobat Distiller 4, plus a "default" setting, with
-dPDFSETTINGS=/settingname. (doc/Ps2pdf.htm [1.10]: 2000/04/29 02:29:20 lpd)

Increments the version number to 6.23. From now on, we use odd numbers
during development, even numbers for released filesets.
(doc/Changes.htm [1.12], doc/History6.htm [1.7], doc/News.htm [1.40],
doc/Release.htm [1.11]: 2000/04/29 16:49:43 lpd)

Implements ImageType 3 images in the PDF writer. (doc/News.htm [1.41]:
2000/04/30 06:21:58 lpd)

Creates a procs structure for shadings, moving the fill_rectangle procedure
into it, in anticipation of adding a get_params procedure.
(doc/News.htm [1.42]: 2000/04/30 19:37:37 lpd)

Implements PatternType 2 patterns and shfill in the PDF writer.
(doc/News.htm [1.43]: 2000/05/02 07:14:58 lpd)

Adds a reference to Karel Kulhavy's pdf2html program.
(doc/New-user.htm [1.6]: 2000/05/04 21:16:44 lpd)

Adds a small project to remove the limit on the length of the OutputFile
parameter for printer drivers. (doc/Projects.htm [1.9]: 2000/05/06 00:32:08
lpd)

Documents the addition of TMPDIR for specifying the directory for temporary
files. (doc/News.htm [1.44], doc/Use.htm [1.5]: 2000/05/19 17:59:28 lpd)

Adds (more) user-contributed uniprint parameter files for the Epson Stylus
Color 640. (doc/Devices.htm [1.8]: 2000/05/23 18:58:56 lpd)

Adds implementation of the %font% IODevice to the list of projects.
(doc/Projects.htm [1.10]: 2000/05/24 23:30:15 lpd)

Documents the change in the paper size selection for PCL drivers.
(doc/News.htm [1.46]: 2000/05/30 03:26:15 lpd)

Adds glyph decaching notification to the list of projects.
(doc/Projects.htm [1.11]: 2000/05/30 05:54:23 lpd)

Documents that user_names_p and system_names_p may now be NULL.
(doc/News.htm [1.47]: 2000/06/05 01:26:05 lpd)

Adds the ability to write multi-strip monochrome TIFF files, controlled by a
new MaxStripSize parameter for the monochrome TIFF drivers.
(doc/Devices.htm [1.9]: 2000/06/05 05:41:55 lpd)

Updates the open ICC color support project to reference Graeme Gill's icclib
package. (doc/Projects.htm [1.12]: 2000/06/08 02:55:37 lpd)

Adds an umbrella document for maintenance procedures, initially describing
the procedure for uploading bug report test data to SourceForge.
(doc/Maintain.htm [1.1], doc/Readme.htm [1.8]: 2000/06/13 20:27:26 lpd)

Updates documentation to reflect the use of the GSC environment variable to
set the name of the executable for ps2pdf. (doc/Ps2pdf.htm [1.12]:
2000/06/21 17:10:41 lpd)

Updates documentation on the ProcessColorModel and ColorConversionStrategy
parameters. (doc/Ps2pdf.htm [1.13]: 2000/06/21 18:06:07 lpd)

Adds user parameters ProcessComment and ProcessDSCComment. If not null,
these procedures are called with the file and the comment line whenever the
scanner detects a comment (or non-DSC comment) or DSC comment. NOTE: the
interpreter is currently patched so that ProcessComment is never called.
(doc/Language.htm [1.4], doc/News.htm [1.48]: 2000/06/27 00:53:38 lpd)

Adds a reference to a user-maintained Czech translation of the Ghostscript
'man' pages. (doc/Readme.htm [1.9]: 2000/06/27 14:03:29 lpd)

Brings the language documentation (more) up to date.
(doc/Language.htm [1.5]: 2000/06/29 16:00:48 lpd)

Improves the documentation of copydevice regarding where it allocates the
copy, and documents finddevice. (doc/Drivers.htm [1.2],
doc/Language.htm [1.6]: 2000/06/30 00:09:15 lpd)

Adds a findprotodevice "operator", to find a device prototype by name.
(doc/Language.htm [1.7]: 2000/07/05 04:49:11 lpd)

Changes the version numbering system back to sequential (not odd/even).
Between numbered filesets, GS_PRODUCT will say "CVS PRE-RELEASE".
(doc/History6.htm [1.8], doc/News.htm [1.50]: 2000/07/05 17:23:54 lpd)

Updates documentation related to version numbering, reflecting the move back
to sequential numbering. (doc/Maintain.htm [1.2], doc/Release.htm [1.14]:
2000/07/05 18:27:50 lpd)

Updates documentation dates for making a fileset. (doc/Changes.htm [1.13],
doc/Devices.htm [1.10], doc/Drivers.htm [1.3], doc/History6.htm [1.9],
doc/Language.htm [1.8], doc/New-user.htm [1.7], doc/News.htm [1.51],
doc/Ps2pdf.htm [1.14], doc/Readme.htm [1.10], doc/Use.htm [1.7]: 2000/07/06
00:01:39 lpd)

</pre><h2><a name="6.22 Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- The rule for the recently-added gdevhl12 driver omitted the space
before the colon. (contrib.mak [1.12]: 2000/05/02 01:42:12 lpd)
	- Once again, corrects an incorrect dependency list.
(lib.mak [1.19]: 2000/05/02 07:14:11 lpd)
	- smd5.c didn't compile properly with "traditional C" compilers.
(lib.mak [1.20]: 2000/05/19 06:08:01 lpd)
	- Temporary files weren't created as private or exclusive.
(lib.mak [1.21], os2.mak [1.6], watc.mak [1.4], watclib.mak [1.4],
winlib.mak [1.3]: 2000/05/19 17:52:51 lpd)
	- The definitions of user names weren't properly associated with
local VM (they were stored in a static variable). (int.mak [1.22]:
2000/05/26 02:27:58 lpd)
	- 'make install' on Unix systems didn't install pdfopt.ps and
pdfwrite.ps. (unixinst.mak [1.11]: 2000/05/30 23:07:34 lpd)
	- The dependency list for the new Epson Stylus Photo driver was
wrong, causing build problems if this driver was included.
(contrib.mak [1.13]: 2000/06/01 20:25:39 lpd)
	- The change to implement stripped TIFF files broke non-TIFF fax
output formats (faxg* drivers). Also factors plain-fax writing from TIFF
writing. (devs.mak [1.26]: 2000/06/06 06:37:37 lpd)
	- Corrects a typo introduced by recent changes. (msvctail.mak [1.3]:
2000/06/07 06:36:54 lpd)
	- Rendering TrueType fonts didn't adjust the flatness to ensure
accurate results. (lib.mak [1.23]: 2000/06/20 15:46:53 lpd)
	- The makefile missed a dependency (CIDFontType 0 fonts require
FontType 2 fonts). (int.mak [1.23]: 2000/06/27 17:23:13 lpd)
	- The makefiles didn't include the requirement that gs_mro_e.ps be
loaded before gs_mgl_e.ps. (devs.mak [1.28], int.mak [1.24]: 2000/06/27
17:36:42 lpd)
	- A dependency was missing. (lib.mak [1.24]: 2000/07/04 19:05:12
lpd)
	- Fixes a typo; reduces the number of false warnings for
documentation date mismatches. (toolbin/pre [1.4]: 2000/07/04 19:19:17 lpd)
	- Fixes a typo. (contrib.mak [1.16]: 2000/07/04 22:30:10 lpd)
	- Adds a missing dependency. (devs.mak [1.29]: 2000/07/04 22:30:33
lpd)
	- Adds a missing dependency. (contrib.mak [1.17]: 2000/07/06
00:00:13 lpd)

Increments the version number to 6.23. From now on, we use odd numbers
during development, even numbers for released filesets. (version.mak [1.15]:
2000/04/29 16:49:43 lpd)

Restructures the code for handling ImageType 3 images, for the benefit of
the PDF writer. (lib.mak [1.18]: 2000/04/30 03:08:15 lpd)

Implements ImageType 3 images in the PDF writer. (devs.mak [1.23]:
2000/04/30 06:21:58 lpd)

Implements PatternType 2 patterns and shfill in the PDF writer.
(devs.mak [1.24]: 2000/05/02 07:14:58 lpd)

Adds the first draft of a driver for the Practical Automation ATX-23, -24,
and -38 label/ticket printers, developed under contract. This has a dual
GPL/AFPL license. (devs.mak [1.25]: 2000/05/03 20:30:06 lpd)

Works around the fact that Microsoft Visual C++ (only) doesn't define the O_
flags for the `open' library call. (lib.mak [1.22]: 2000/05/31 20:34:43 lpd)

Makes it possible to build on MSVC++ systems without specifying the paths
for the tools, headers, or libraries. See msvc{32,lib}.mak for details.
(msvc32.mak [1.4], msvccmd.mak [1.4], msvclib.mak [1.4], msvctail.mak [1.2],
winint.mak [1.4]: 2000/06/05 02:46:07 lpd)

Adds a user-contributed driver for SFF (the file format for CAPI fax
devices). (contrib.mak [1.14]: 2000/06/06 06:38:31 lpd)

Notes that the vgalib driver only suppotrs 16-color modes. (devs.mak [1.27]:
2000/06/06 15:28:01 lpd)

Removes an obsolete file. (toolbin/package.tcl [1.2]: 2000/06/06 18:05:32
lpd)

Documents the fact that the IJG JPEG library header files must be available
when compiling, even if SHARE_JPEG=1. (dvx-gcc.mak [1.3], jpeg.mak [1.2],
unix-gcc.mak [1.6], unixansi.mak [1.4], unixtrad.mak [1.4]: 2000/06/07
13:32:44 lpd)

Finishes implementing the Process[DSC]Comment callout. (int.mak [1.25]:
2000/06/28 20:17:00 lpd)

Removes some third-party drivers with incompatible licenses.
(contrib.mak [1.15]: 2000/07/02 22:11:31 lpd)

Finishes working around the fact that Microsoft C, in defiance of multiple
standards, by default doesn't define the O_ flags for 'open' in fcntl.h (or
anywhere else). (lib.mak [1.25]: 2000/07/05 00:48:21 lpd)

Changes the version numbering system back to sequential (not odd/even).
Between numbered filesets, GS_PRODUCT will say "CVS PRE-RELEASE".
(version.mak [1.16]: 2000/07/05 17:23:54 lpd)

</pre><h2><a name="6.22 Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- Fixes a couple of minor Windows NT compatibility problems in
script files. (lib/ps2pdf.bat [1.3], lib/ps2pdfxx.bat [1.5]: 2000/05/05
03:21:03 lpd)
	- Temporary files weren't created as private or exclusive.
(gp_iwatc.c [1.3], gp_mswin.c [1.2], gp_os2.c [1.3]: 2000/05/19 17:52:51
lpd)
	- gsdll_init didn't propagate an error return from
gs_main_init_with_args, causing clients to think Ghostscript was initialized
properly when it wasn't. (gsdll.c [1.2]: 2000/05/20 14:39:42 lpd)
	- The batch files for MS-DOS, MS Windows, and OS/2 referred to the
executable by the name 'gs'. They now use environment variables GS
(graphical) and GSC (console) for the executable names, defaulting to
gswin32 and gswin32c respectively. (lib/bdftops.bat [1.2],
lib/eps2eps.bat [1.3], lib/font2c.bat [1.2], lib/gsbj.bat [1.2],
lib/gsdj.bat [1.2], lib/gsdj500.bat [1.2], lib/gslj.bat [1.2],
lib/gslp.bat [1.2], lib/gsnd.bat [1.2], lib/gsndt.bat [1.2],
lib/gssetgs.bat [1.1], lib/gst.bat [1.2], lib/gstt.bat [1.2],
lib/lpgs.bat [1.2], lib/lpr2.bat [1.2], lib/pdf2ps.bat [1.3],
lib/pdfopt.bat [1.2], lib/pftogsf.bat [1.2], lib/ps2ascii.bat [1.3],
lib/ps2epsi.bat [1.3], lib/ps2pdfxx.bat [1.7], lib/ps2ps.bat [1.3]:
2000/05/20 20:53:05 lpd)
	- The ps2pdf.bat script didn't set the default PDF level, so it
normally produced PDF 1.3 rather than 1.2, which was contrary to the
documentation and different from the Unix ps2pdf script.
(lib/ps2pdf.bat [1.4]: 2000/06/08 02:33:09 lpd)

Adds a user-contributed program for displaying the differences between two
AFM (font metric) files. This has a dual AFPL/GPL copyright.
(lib/afmdiff.awk [1.1]: 2000/04/29 20:51:41 lpd)

Removes an out-of-date e-mail address. (lib/ps2pdfxx.bat [1.4]: 2000/05/04
16:40:08 lpd)

Adds -dSAFER to all the format conversion scripts in which the input is
executed as PostScript or PDF code. (lib/eps2eps [1.2],
lib/eps2eps.bat [1.2], lib/pdf2dsc [1.2], lib/pdf2ps [1.3],
lib/pdf2ps.bat [1.2], lib/ps2ascii [1.2], lib/ps2ascii.bat [1.2],
lib/ps2epsi [1.3], lib/ps2epsi.bat [1.2], lib/ps2pdfwr [1.5],
lib/ps2pdfxx.bat [1.6], lib/ps2ps [1.2], lib/ps2ps.bat [1.2]: 2000/05/19
06:38:25 lpd)

Adds -dSAFER to one more script. (lib/pdfopt [1.2]: 2000/05/30 05:28:22 lpd)

Refactors some PDF-writing code for use in a PDF decompressor.
(lib/pdfwrite.ps [1.2]: 2000/06/27 17:06:32 lpd)

Adds a number of (user-maintained) command files for OS/2.
(lib/bdftops.cmd [1.1], lib/eps2eps.cmd [1.1], lib/font2c.cmd [1.1],
lib/pdf2ps.cmd [1.1], lib/pf2afm.cmd [1.1], lib/ps2ascii.cmd [1.1],
lib/ps2epsi.cmd [1.1], lib/ps2pdf.cmd [1.1], lib/ps2pdf12.cmd [1.1],
lib/ps2pdf13.cmd [1.1], lib/ps2ps.cmd [1.1]: 2000/07/05 16:21:13 lpd)

</pre><h2><a name="6.22 Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- The "compressed data" command encoding was wrong in one place in
the documentation, and the code used the incorrect encoding.
(gdevatx.c [1.2]: 2000/05/06 00:31:25 lpd)
	- If a file made no marks at all, ps2[e]ps produced bad output.
(gdevps.c [1.8]: 2000/05/07 15:38:27 lpd)
	- Returning an image compression parameter dictionary didn't close
an enumeration, failing to free a bookkeeping structure. (gdevpsdp.c [1.5]:
2000/05/11 16:13:16 lpd)
	- The epswrite driver could produce output that used initclip, which
is not allowed in EPS files. (gdevps.c [1.9]: 2000/05/20 06:36:30 lpd)
	- The change to implement stripped TIFF files broke non-TIFF fax
output formats (faxg* drivers). Also factors plain-fax writing from TIFF
writing. (gdevfax.c [1.1], gdevfax.h [1.1], gdevtfax.c [1.3],
gdevtfax.h [1.3]: 2000/06/06 06:37:37 lpd)
	- In the X driver, resetting MaxBitmap didn't have the proper
effect, and could cause a crash. (This is probably only a partial fix.)
(gdevxini.c [1.4]: 2000/06/12 01:52:16 lpd)
	- Finishes fixing the handling of MaxBitmap in the X driver.
(gdevxini.c [1.5]: 2000/06/12 02:45:25 lpd)
	- In the ATX drivers, the word count for compressed scan lines was
written as 2 bytes rather than 1; the drivers wouldn't accept a page width
greater than 2400 pixels. (gdevatx.c [1.4]: 2000/06/12 04:39:48 lpd)
	- Works around a bug in the MSVC++ 5.0 compiler that treats (int <<
unsigned) as unsigned rather than int. (gdevcd8.c [1.2], gdevcdj.c [1.2],
gdevdj9.c [1.3]: 2000/06/20 14:21:34 lpd)
	- Uncolored Patterns used with a gray color produced incorrect PDF
output. (Bug introduced in 6.2x.) (gdevpsdu.c [1.5]: 2000/06/28 05:13:19
lpd)
	- Moves an assignment to eliminate a bogus warning from some picky
compilers about a variable supposedly clobbered by longjmp.
(gdevpng.c [1.2]: 2000/07/03 21:10:33 lpd)
	- Two values were computed and not used. (gdevpx.c [1.3]: 2000/07/03
21:30:41 lpd)
	- [e]pswrite didn't guarantee a maximum line length of 255
characters, and didn't mark binary data with %%BeginData:/%%EndData.
(gdevps.c [1.10]: 2000/07/04 18:34:38 lpd)
	- Fixes references to undeclared functions. (gdevdfax.c [1.2],
gdevl256.c [1.2]: 2000/07/04 22:25:08 lpd)
	- X Windows platform fonts were broken when using multiple device
instances (windows). (gdevxxf.c [1.4]: 2000/07/05 18:20:41 lpd)

Improves the test for whether compressing an image is worthwhile.
(gdevpsdi.c [1.11]: 2000/04/30 01:26:41 lpd)

When printing color values derived from 8-bit fields, rounds the output to 3
decimal places for compactness with no loss of precision. (gdevpsdu.c [1.4]:
2000/04/30 19:24:28 lpd)

Adds the first draft of a driver for the Practical Automation ATX-23, -24,
and -38 label/ticket printers, developed under contract. This has a dual
GPL/AFPL license. (gdevatx.c [1.1]: 2000/05/03 20:30:06 lpd)

Updates the ATX printer drivers to handle the unprintable margins.
(gdevatx.c [1.3]: 2000/05/19 05:48:30 lpd)

Adds (more) user-contributed uniprint parameter files for the Epson Stylus
Color 640. (lib/st640ih.upp [1.1], lib/st640ihg.upp [1.1],
lib/st640p.upp [1.1], lib/st640pg.upp [1.1], lib/st640pl.upp [1.1],
lib/st640plg.upp [1.1]: 2000/05/23 18:58:56 lpd)

Adds support for 11x17 paper in PCL printers; changes the paper size tests
so that paper size N+1 is selected if the requested height is at least 0.1"
greater than the height of paper size N. (gdevpcl.c [1.2], gdevpcl.h [1.2]:
2000/05/30 03:24:17 lpd)

Adds comments about H-P's inconsistent use of different names and size codes
for the 11x17 paper size. (gdevpcl.c [1.3], gdevpcl.h [1.3]: 2000/05/30
20:45:45 lpd)

Adds the ability to write multi-strip monochrome TIFF files, controlled by a
new MaxStripSize parameter for the monochrome TIFF drivers.
(gdevtfax.c [1.2], gdevtfax.h [1.2], gdevtfnx.c [1.2], gdevtifs.c [1.2],
gdevtifs.h [1.2]: 2000/06/05 05:41:55 lpd)

Adds a user-contributed driver for SFF (the file format for CAPI fax
devices). (gdevcfax.c [1.1]: 2000/06/06 06:38:31 lpd)

Notes that the vgalib driver only suppotrs 16-color modes.
(gdevvglb.c [1.2]: 2000/06/06 15:28:01 lpd)

Adds some code contributed by Leon Bottou <leonb@research.att.com> that
makes the X driver prefer TrueColor visuals. We aren't sure of the
ramifications of this.... (gdevxini.c [1.6]: 2000/06/12 04:41:15 lpd)

Updates the ATX driver(s) to enforce maximum page width and minimum page
length. (gdevatx.c [1.5]: 2000/06/22 14:55:53 lpd)

Removes some third-party drivers with incompatible licenses.
(gdevcd8.c [1.3], gdevdj9.c [1.4], gdevhl12.c [1.2]: 2000/07/02 22:11:31
lpd)

Per user request, changes the license on the basic monochrome
DeskJet/LaserJet drivers from AFPL to dual AFPL/GPL. (gdevdjet.c [1.5],
gdevdljm.c [1.3], gdevdljm.h [1.3]: 2000/07/05 17:36:14 lpd)

</pre><h2><a name="6.22 PDF writer"></a>PDF writer</h2><pre>

Fixes problems:
	- A "0 ||" was omitted, potentially causing some kinds of errors
that never happen in practice to be overlooked. (gdevpdfi.c [1.17]:
2000/05/02 01:55:10 lpd)
	- Fixes minor syntactic incompatibilities with "traditional C"
compilers. (gdevpdfg.c [1.5]: 2000/05/11 16:14:51 lpd)
	- The PDF writer could still produce coordinates for paths that
exceeded Acrobat Reader's user-coordinate limit of +/- 32K.
(gdevpdfd.c [1.9]: 2000/05/23 21:05:00 lpd)
	- In PDF 1.2 output, several synthesized Type 3 fonts could have the
same name, producing errors and/or incorrect output. (bug introduced since
6.01) (gdevpdf.c [1.17], gdevpdft.c [1.11], gdevpdfx.h [1.18]: 2000/05/24
20:39:30 lpd)
	- The FontDescriptor flags for non-embedded alphabetic fonts with
non-Standard encodings incorrectly identified the font as a small-caps font.
(gdevpdff.c [1.6]: 2000/05/30 23:04:23 lpd)
	- Works around the fact that Acrobat Reader won't accept /MMType1
fonts, but will accept MM Type 1 instances if they're tagged as /Type1
rather than /MMType1. (gdevpdft.c [1.12], gdevpdfw.c [1.4]: 2000/06/12
18:13:51 lpd)
	- Embedded Type 1 (but not Type 2 / 1C) fonts were written without
eexec encryption. We can't figure out how this happened, because the PDF
spec requires eexec encryption and the correct code was commented out; we
suppose this was a debugging or testing modification that got left in. (bug
introduced since 6.01) (gdevpdfe.c [1.2]: 2000/06/12 18:15:20 lpd)
	- Text in Type 3 synthesized fonts was often positioned incorrectly,
usually too far to the left. (bug introduced since 6.01) (gdevpdft.c [1.13]:
2000/06/13 16:34:42 lpd)
	- Images that ended prematurely still (again?) weren't written
correctly. (gdevpdfj.c [1.4]: 2000/06/27 06:32:03 lpd)

Implements ImageType 3 images in the PDF writer. (gdevpdfb.c [1.1],
gdevpdfg.h [1.6], gdevpdfi.c [1.16], gdevpdfj.c [1.3], gdevpdfx.h [1.16]:
2000/04/30 06:21:58 lpd)

Implements PatternType 2 patterns and shfill in the PDF writer.
(gdevpdfc.c [1.11], gdevpdfg.h [1.7], gdevpdfo.c [1.3], gdevpdfo.h [1.3],
gdevpdfv.c [1.1], gdevpdfx.h [1.17]: 2000/05/02 07:14:58 lpd)

</pre><h2><a name="6.22 Interpreter (PDF)"></a>Interpreter (PDF)</h2><pre>

Fixes problems:
	- PatternType 2 (shaded) Patterns caused errors.
(lib/pdf_draw.ps [1.14]: 2000/05/02 07:03:09 lpd)
	- -q (-dQUIET) didn't suppress all warnings from the PDF
interpreter. (lib/pdf_base.ps [1.8]: 2000/05/07 15:51:18 lpd)
	- FunctionType 3 functions with indirect /Bounds or /Encode entries
caused a typecheck error. (lib/pdf_draw.ps [1.15]: 2000/06/07 19:08:00 lpd)
	- If the TR element of an ExtGState was an array of Functions (for
setcolortransfer) rather a single Function (for settransfer), an error
occurred. (fix from Artifex) (lib/pdf_draw.ps [1.16]: 2000/06/12 00:40:45
lpd)
	- The code for keeping the Install procedure from getting more and
more deeply nested didn't actually work, and also caused pages with a
non-zero MediaBox offset to be translated incorrectly.
(lib/pdf_main.ps [1.8]: 2000/06/12 19:17:03 lpd)
	- PDF files with embedded TrueType fonts didn't map characters to
glyph indices correctly (i.e., using the same algorithm as Acrobat Reader).
(lib/pdf_font.ps [1.8]: 2000/06/21 02:15:01 lpd)
	- The built-in Identity CMaps had an incorrect entry count for
begincodespacerange and begincidrange; these CMaps, and all Type 0 fonts,
were constructed in a way that was incompatible with some old Adobe font
loading software. (lib/pdf_font.ps [1.9]: 2000/06/28 01:36:30 lpd)
	- If PDF interpretation was included in the build, the very first
line of a non-PDF file wouldn't be processed (if applicable) as a comment.
(lib/pdf_main.ps [1.9]: 2000/06/29 15:55:13 lpd)

</pre><h2><a name="6.22 Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- localfork didn't properly initialize userdict in the new context.
(lib/gs_dps.ps [1.2]: 2000/05/01 07:20:37 lpd)
	- A null Pattern color caused an error. (zcolor2.c [1.2]: 2000/05/01
15:15:06 lpd)
	- Fixes minor syntactic incompatibilities with "traditional C"
compilers. (zbfont.c [1.5], zfcid0.c [1.3]: 2000/05/11 16:14:51 lpd)
	- The 'monitor' operator was broken (probably had never been
tried!). (zcontext.c [1.2]: 2000/05/15 19:14:25 lpd)
	- -dSTRICT caused an error, /undefined in SIZES.
(lib/gs_statd.ps [1.3]: 2000/05/17 19:17:40 lpd)
	- CFF CID fonts in which the FDSelect array occurred before the
CharStrings caused an error. (lib/gs_cff.ps [1.5]: 2000/05/17 20:39:20 lpd)
	- dict_matrix3_param didn't work correctly on platforms where the
compiler aligned structures to a boundary larger than sizeof(float), causing
incorrect output or arithmetic exceptions for CIE color spaces.
(zcie.c [1.2]: 2000/05/18 19:02:25 lpd)
	- Flushing or closing a procedure-based output stream still wasn't
implemented correctly (it could cause an endless loop). (zfproc.c [1.3]:
2000/05/19 19:35:01 lpd)
	- 'monitor' left its operand on the stack. (zcontext.c [1.3]:
2000/05/22 21:15:23 lpd)
	- The definitions of user names weren't properly associated with
local VM (they were stored in a static variable). (btoken.h [1.2],
iref.h [1.2], iscanbin.c [1.3], zbseq.c [1.2], zdps.c [1.2]: 2000/05/26
02:27:58 lpd)
	- Invoking an image operator with an empty string data source caused
an infinite loop. (zimage.c [1.4]: 2000/05/30 03:43:19 lpd)
	- The fix for associating the user name array with local VM didn't
create the user name table properly for new contexts with their own local
VM. The user name array is now created lazily. (btoken.h [1.3],
iscanbin.c [1.4], zbseq.c [1.3], zdps.c [1.3]: 2000/05/30 04:38:26 lpd)
	- As a result of the fix removing the incorrect same-local-VM check
in context_state_load, userparams wasn't updated properly when switching
contexts. (icontext.c [1.3]: 2000/05/30 20:40:17 lpd)
	- MAX_HALF_INTVAL was defined incorrectly, causing the mul operator
to run slower than necessary when multiplying two small integers.
(zarith.c [1.2]: 2000/06/04 17:00:29 lpd)
	- Shadings with an array of Functions caused a rangecheck or
typecheck error. (zshade.c [1.2]: 2000/06/04 18:26:17 lpd)
	- If the new value of a device parameter was an array with some
integers and some reals, and the first element was a real, a typecheck error
would occur. (iparam.c [1.4]: 2000/06/19 22:22:51 lpd)
	- PDF files with embedded TrueType fonts didn't map characters to
glyph indices correctly (i.e., using the same algorithm as Acrobat Reader).
(lib/gs_agl.ps [1.1], lib/gs_ttf.ps [1.5]: 2000/06/21 02:15:01 lpd)
	- The dictionary used to hold Encodings wasn't large enough.
(lib/gs_init.ps [1.10]: 2000/06/27 17:55:05 lpd)
	- The change in parameter type checking required for the new
Process[DSC]Comment user parameters broke type checking for system
parameters. (lib/gs_lev2.ps [1.4]: 2000/06/27 17:56:04 lpd)
	- Calling out to process a comment during scanning left an extra
element on the operand stack if the comment appeared within { }.
(ztoken.c [1.3]: 2000/06/28 00:47:05 lpd)
	- In some cases, two successive DSC comments produced a syntaxerror.
(ztoken.c [1.4]: 2000/06/28 05:14:17 lpd)
	- The code for registering compiled fonts was sensitive to its
position in the order of loading the initialization files (caused an error
if loaded too early). (lib/gs_ccfnt.ps [1.3]: 2000/06/29 23:31:14 lpd)
	- [gs_]currentgray didn't return the correct value if the current
color space was a DeviceN space using the alternate space. (zcolor.c [1.3],
zcolor1.c [1.2]: 2000/07/03 15:28:26 lpd)

Adds predefined pdfwrite settings similar to the three standard settings in
Adobe Acrobat Distiller 4, plus a "default" setting, with
-dPDFSETTINGS=/settingname. (lib/gs_pdfwr.ps [1.4]: 2000/04/29 02:29:21 lpd)

Increments the version number to 6.23. From now on, we use odd numbers
during development, even numbers for released filesets.
(lib/gs_init.ps [1.8]: 2000/04/29 16:49:43 lpd)

Changes .buildfont1 to accept Type 1 fonts with LanguageGroup other than 0
or 1. This is contrary to the spec, but we've seen a few fonts with other
values. (zfont1.c [1.5]: 2000/05/06 08:19:37 lpd)

Cleans up code and comments slightly. (lib/gs_dps.ps [1.3]: 2000/05/30
20:35:56 lpd)

Adds user parameters ProcessComment and ProcessDSCComment. If not null,
these procedures are called with the file and the comment line whenever the
scanner detects a comment (or non-DSC comment) or DSC comment. NOTE: the
interpreter is currently patched so that ProcessComment is never called.
(interp.c [1.4], iscan.c [1.2], iscan.h [1.2], lib/gs_init.ps [1.9],
lib/gs_lev2.ps [1.3], ztoken.c [1.2], ztype.c [1.2]: 2000/06/27 00:53:38
lpd)

Finishes implementing the Process[DSC]Comment callout. (icontext.c [1.4],
icstate.h [1.3], interp.c [1.5], iscan.h [1.3], itoken.h [1.1],
lib/gs_init.ps [1.11], ztoken.c [1.5], zusparam.c [1.2]: 2000/06/28 20:17:00
lpd)

Changes the name of the unread operator to .unread, retaining unread as a
synonym for backward compatibility. (lib/gs_init.ps [1.12], zfileio.c [1.7]:
2000/06/29 15:58:24 lpd)

Adds a findprotodevice "operator", to find a device prototype by name.
(lib/gs_init.ps [1.13]: 2000/07/05 04:49:11 lpd)

Changes the version numbering system back to sequential (not odd/even).
Between numbered filesets, GS_PRODUCT will say "CVS PRE-RELEASE".
(lib/gs_init.ps [1.14]: 2000/07/05 17:23:54 lpd)

</pre><h2><a name="6.22 Streams"></a>Streams</h2><pre>

Fixes problems:
	- file_limit wasn't initialized properly in some cases.
(sfxfd.c [1.4], sfxstdio.c [1.3]: 2000/05/02 02:06:41 lpd)
	- smd5.c didn't compile properly with "traditional C" compilers.
(smd5.c [1.2]: 2000/05/19 06:08:01 lpd)
	- The workaround for Microsoft C's omission of O_APPEND et al caused
warnings or errors with other compilers. (stat_.h [1.3]: 2000/07/03 21:07:05
lpd)

Works around the fact that Microsoft Visual C++ (only) doesn't define the O_
flags for the `open' library call. (stat_.h [1.2]: 2000/05/31 20:34:43 lpd)

Finishes working around the fact that Microsoft C, in defiance of multiple
standards, by default doesn't define the O_ flags for 'open' in fcntl.h (or
anywhere else). (stat_.h [1.4]: 2000/07/05 00:48:21 lpd)

</pre><h2><a name="6.22 Library"></a>Library</h2><pre>

Fixes problems:
	- A null Pattern color caused an error. (gspcolor.c [1.2]:
2000/05/01 15:15:07 lpd)
	- A procedure name exceeded VMS's 31-character limit.
(gsparam.h [1.6]: 2000/05/02 01:47:50 lpd)
	- If the DataSource of a shading was a reusable stream, the stream
wasn't reset before rendering the shading. (gxshade.c [1.2]: 2000/05/02
07:05:10 lpd)
	- shfill didn't go through the device fill_path procedure,
preventing it from being written out as a high-level PostScript or PDF
construct. (gscolor3.c [1.2]: 2000/05/02 07:06:23 lpd)
	- Once again, corrects an incorrect dependency list.
(gscolor3.c [1.3]: 2000/05/02 07:14:11 lpd)
	- The code for adding elements to small-string free lists was wrong,
possibly causing an endless loop. (gsnogc.c [1.3]: 2000/05/04 01:29:53 lpd)
	- Fixes minor syntactic incompatibilities with "traditional C"
compilers. (gsfunc4.c [1.2], gstype42.c [1.5]: 2000/05/11 16:14:51 lpd)
	- CIEBasedDEF[G] color spaces computed incorrect results or caused
invalid memory accesses, especially if DecodeDEF[G] is not the identity
function. (This bug had probably been there since these color spaces were
first implemented, unnoticed because DecodeDEF[G] is almost always the
identity.) (gscie.c [1.2], gsciemap.c [1.2], gxctable.c [1.2]: 2000/05/15
19:58:38 lpd)
	- Temporary files weren't created as private or exclusive.
(close_.h [1.1], gp_unifs.c [1.2], gpmisc.c [1.1], gpmisc.h [1.1]:
2000/05/19 17:52:51 lpd)
	- OutputFile values starting with a %d format string caused an
error. (bug introduced in 5.85) (gsdevice.c [1.4]: 2000/05/20 06:58:11 lpd)
	- In rare cases, an overflow could occur in the filling loop,
producing distorted output. (Fix from Artifex Software.) (gxfill.c [1.3]:
2000/05/23 05:46:52 lpd)
	- When writing PDF or PostScript, stroked rectangles could sometimes
be omitted from the output. (gdevvec.c [1.3]: 2000/05/24 18:48:14 lpd)
	- In PDF output, the conversion of Type 1 to Type 2 CharStrings
didn't adjust the X offset of the accent for 'seac', causing accents to be
displaced to the right. (gdevpsfx.c [1.3]: 2000/05/24 23:20:43 lpd)
	- The definitions of user names weren't properly associated with
local VM (they were stored in a static variable). (gsalloc.c [1.3],
gxalloc.h [1.2]: 2000/05/26 02:27:58 lpd)
	- The change for local user names didn't update the structure
descriptor for gs_ref_memory_t. (gsalloc.c [1.4], gxalloc.h [1.3]:
2000/05/26 02:33:38 lpd)
	- The fix for 'seac' when converting Type 1 to Type 2 CharStrings
wasn't quite complete. (gdevpsfx.c [1.4]: 2000/05/26 20:48:37 lpd)
	- If [eo]clip set a rectangular region, clippath would return the
rounded clipping box, not the correct clipping path. (gxcpath.c [1.2]:
2000/05/31 22:20:04 lpd)
	- ShadingType 2 shadings could cause an invalid memory access.
(gsfunc3.c [1.3]: 2000/06/04 18:25:33 lpd)
	- Printer drivers that didn't implement print_page_copies didn't
print multiple copies of the same page on separate files if the OutputFile
name included %d, and some drivers (such as the TIFF drivers) produced
invalid output. (gdevprn.c [1.4]: 2000/06/05 02:04:26 lpd)
	- 32-bit sample values in shading data didn't work, because some
CPUs execute (1 << 32) as (1 << 0). (gxshade.c [1.3]: 2000/06/07 19:07:17
lpd)
	- Type 1 fonts without eexec encryption still included the 4 eexec
padding bytes. (bug probably introduced since 6.0) (gdevpsf1.c [1.4]:
2000/06/12 17:38:48 lpd)
	- Axial shadings with a non-orthogonal CTM could fail to fill the
required region. (fix from Artifex) (gxshade1.c [1.4]: 2000/06/12 21:45:19
lpd)
	- When allocator debugging was enabled (-Z@), 'restore' didn't clear
vacated space in inner chunks. (gsalloc.c [1.5]: 2000/06/13 07:04:18 lpd)
	- the row buffers for images weren't allocated with a stable
allocator, possibly causing data corruption or invalid accesses if a
PostScript program invoked save/restore within the data-reading procedure
for an image. (gsimage.c [1.2]: 2000/06/13 07:05:21 lpd)
	- Rendering TrueType fonts didn't adjust the flatness to ensure
accurate results. (gstype42.c [1.6], gxchrout.c [1.1], gxchrout.h [1.1],
gxtype1.c [1.5]: 2000/06/20 15:46:53 lpd)
	- Calling get_params with a static (read-only) device prototype
could cause a memory access error. (gsdparam.c [1.3]: 2000/06/22 14:05:49
lpd)
	- [gs_]currentgray didn't return the correct value if the current
color space was a DeviceN space using the alternate space. (gscolor.c [1.2],
gscolor.h [1.2], gscolor1.c [1.2]: 2000/07/03 15:28:26 lpd)
	- Some picky compilers complained about "integer constant is
unsigned in ANSI C, signed with -traditional". (md5.c [1.2]: 2000/07/03
21:55:18 lpd)
	- If TMPDIR wasn't defined, TEMP would be ignored. (bug introduced
in 6.23) (gpmisc.c [1.4]: 2000/07/04 19:54:00 lpd)
	- Watcom C requires the non-standard O_BINARY mode flag when opening
(with open) a file that will later be opened in binary mode with fdopen.
(gpmisc.c [1.6]: 2000/07/05 17:08:27 lpd)

Restructures the code for handling ImageType 3 images, for the benefit of
the PDF writer. (gximage3.c [1.3], gximage3.h [1.1]: 2000/04/30 03:08:15
lpd)

Implements ImageType 3 images in the PDF writer. (gximage3.c [1.4],
gximage3.h [1.2]: 2000/04/30 06:21:58 lpd)

Creates a procs structure for shadings, moving the fill_rectangle procedure
into it, in anticipation of adding a get_params procedure. (gsshade.c [1.2],
gsshade.h [1.2], gxshade.h [1.2]: 2000/04/30 19:37:37 lpd)

Implements PatternType 2 patterns and shfill in the PDF writer.
(gsptype2.c [1.2]: 2000/05/02 07:14:58 lpd)

Changes gdev_prn_file_is_new from a macro to a procedure. (gdevprn.c [1.3],
gdevprn.h [1.4]: 2000/05/20 20:25:48 lpd)

Works around the fact that Microsoft Visual C++ defines S_IREAD and S_IWRITE
but not their newer equivalents S_IRUSR and S_IWUSR. (gpmisc.c [1.2]:
2000/05/24 18:49:54 lpd)

Changes some assignments to work around over-zealous compiler warnings.
(gxtype1.c [1.4]: 2000/05/24 23:52:58 lpd)

Works around the fact that Microsoft Visual C++ (only) doesn't define the O_
flags for the `open' library call. (gpmisc.c [1.3]: 2000/05/31 20:34:43 lpd)

Improves some comments in A_fill_stripe. (gxshade1.c [1.3]: 2000/06/04
20:58:23 lpd)

Finishes working around the fact that Microsoft C, in defiance of multiple
standards, by default doesn't define the O_ flags for 'open' in fcntl.h (or
anywhere else). (fcntl_.h [1.1], gpmisc.c [1.5]: 2000/07/05 00:48:21 lpd)

Adds O_BINARY to the Microsoft compatibility fcntl.h patch. (fcntl_.h [1.2]:
2000/07/05 17:21:43 lpd)

Changes the version numbering system back to sequential (not odd/even).
Between numbered filesets, GS_PRODUCT will say "CVS PRE-RELEASE".
(gscdef.c [1.3]: 2000/07/05 17:23:54 lpd)

Updates GS_PRODUCT for making a fileset. (gscdef.c [1.4]: 2000/07/06
00:01:03 lpd)

<hr>

<h1><a name="Version6.21"></a>Version 6.21 (2000-04-28)</h1>

<p>
This fileset includes more PDF writer enhancements: conversion of embedded
Type 1 fonts to Type 1C (smaller), handling of more color spaces for images,
ImageType 4 images, compression of mask images, support for (tiled) Pattern
colors, more graphics state distiller parameters, recording of graphics
state functions in the output.  It also greatly improves the space usage and
loading time for CMaps.

<p>
All problems registered on SourceForge numbered 104890 or lower are closed,
except for the following: 101549, 101814, 101905, 101955, 102146, 102735,
103528, 104118, 104375.

<p>
The following projects are in a partially completed state in the PDF writer:

<ul>

<li>CID-keyed fonts (gdevpdf[eftw].c) -- barely started.

<li>ImageType 3 images (gdevpdf[ij].c) -- started.

</ul>

<pre>

<h2><a name="6.21_Incompatible_changes"></a>Incompatible changes</h2>

(Drivers)
	- The downsampling filters now require WidthIn and HeightIn,
replacing Columns.
	- The gp_ procedures for managing screen swapping between console
and graphics are removed.
	- Any driver that processes the pdfmark pseudo-parameter must now
also return null for the "value" of the pdfmark parameter when (and only
when) specifically requested.
(PDF writer)
	- The last argument of pdf_alloc_font has changed.
	- pdf_set_color is renamed pdf_set_pure_color.
	- When producing PDF 1.3 output, the base 14 fonts are now
candidates for embedding just like any other fonts.
(Interpreter)
	- The .fontproperties procedure in gs_fonts.ps now takes an
additional argument.
	- The interpreter must no longer reference stdin/out/err directly.
(Library)
	- The internal representation of CMaps is changed completely, and
has several new required members.
	- gs_cmap is renamed gs_cmap_t; gx_code_map is renamed
gx_code_map_t.
	- Clients creating CMaps must call gs_cmap_init to initialize them.
	- The library must no longer reference stdin/out/err directly.


<h2><a name="6.21 Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- The PDF writer could get an ioerror when downsampling images whose
size wasn't an exact multiple of the downsampling factor.
(doc/News.htm [1.31]: 2000/04/13 16:44:59 lpd)
	- When processing a PDF file, the font substitution heuristic based
on the FontName sometimes overrode the Flags information in the
FontDescriptor. (doc/News.htm [1.34]: 2000/04/20 06:36:02 lpd)
	- When pdfwrite was producing PDF 1.3 output, the base 14 fonts were
never embedded, rather than being handled like all other fonts.
(doc/News.htm [1.37]: 2000/04/20 23:49:40 lpd)
	- The URL for the Arphic free Chinese fonts had become incorrect.
(doc/Fonts.htm [1.3]: 2000/04/27 13:44:52 lpd)
	- Fixes a few typos, and adds GS_FONTPATH to the list of environment
variables to be unset for a pristine test run. (doc/Release.htm [1.10]:
2000/04/28 22:08:41 lpd)

Adds projects related to SVG and to pswrite image compression.
(doc/Projects.htm [1.4]: 2000/04/07 18:39:12 lpd)

Makes the ps2pdf scripts replace a .eps extension with .pdf, as they do with
.ps. (doc/Ps2pdf.htm [1.7], man/ps2pdf.1 [1.5], man/ps2pdfwr.1 [1.2]:
2000/04/07 19:28:14 lpd)

Completely redesigns the representation of CMaps, to reduce space
requirements and make comparing them more reasonable, changing gs_cmap to
gs_cmap_t and gx_code_map to gx_code_map_t. (****** NOTE ****** The
PostScript code currently only handles a few well-behaved CMap structures.)
(doc/News.htm [1.27]: 2000/04/08 03:54:38 lpd)

Documents the need to set SYNC=nosync on NextStep / OpenStep systems.
(doc/Make.htm [1.10]: 2000/04/10 04:45:37 lpd)

Overhauls font embedding in the PDF writer: splits off the code into a new
file (gdevpdfe.c), writes embedded Type 1 fonts as Type 1C (CFF Type 2), and
adds a little bit of code for future support of Type 0 and CID-keyed fonts.
(doc/News.htm [1.28]: 2000/04/10 07:48:37 lpd)

Documents the fact that building on NeXTSTEP 3.3 systems requires removing
-Wmissing-declarations from GCFLAGS. (doc/Make.htm [1.11]: 2000/04/11
14:06:54 lpd)

Enhances pdf2ps to allow defaulting the output file name.
(man/pdf2ps.1 [1.2]: 2000/04/11 14:23:24 lpd)

Factors out code for writing functions and for adding filter-related entries
to a stream dictionary; implements the DefaultRenderingIntent distiller
parameter. (doc/Ps2pdf.htm [1.8]: 2000/04/11 16:06:57 lpd)

Implements additional distiller parameters: PreserveHalftoneInfo,
PreserveOverprintSetting, TransferFunctionInfo (except for Apply vs.
Remove), UCRandBGInfo. Splits off graphics state management into separate
files. Implements the remaining graphics state parameters (halftone,
transfer function, black generation, undercolor removal, halftone phase,
smoothness, overprint, stroke adjustment) ****** EXCEPT FOR IMAGES ******.
In anticipation of handling more general colors, renames pdf_set_color as
pdf_set_pure_color, and adds pdf_set_drawing_color. (doc/News.htm [1.29]:
2000/04/11 18:31:32 lpd)

Updates documentation to match recent changes in the pdfwrite driver.
(doc/Ps2pdf.htm [1.9]: 2000/04/11 22:56:17 lpd)

Makes the second argument of the pfbtopfa script optional, so 'pfbtopfa
dir/x.pfb' is equivalent to 'pfbtopfa dir/x.pfb x.pfa'.
(man/pfbtopfa.1 [1.2]: 2000/04/12 17:41:41 lpd)

In pdfwrite, rewrites the image writing code to use Cos objects rather than
direct printing, and splits off the creation of image dictionaries into a
new file; adds support for tiling with uncolored Patterns; implements
converting ImageType 4 images to their PDF 1.3 counterpart; starts to do the
same for ImageType 3. This code is "in progress" and likely to have problems
for a while. (doc/News.htm [1.30]: 2000/04/12 18:44:35 lpd)

Implements pdfwrite compression for mask images, using the same parameters
as for monochrome images. (doc/News.htm [1.32]: 2000/04/13 18:40:23 lpd)

Adds user-contributed uniprint parameter files for the Canon BJC-8200,
including an addition for the Red Hat printer data base.
(doc/Devices.htm [1.4]: 2000/04/14 03:59:57 lpd)

Slightly updates the user-contributed documentation on the new BJC-8200
uniprint parameters. (doc/Devices.htm [1.5]: 2000/04/15 00:20:54 lpd)

Completes code for reading and writing CMaps. (doc/News.htm [1.33]:
2000/04/16 03:05:29 lpd)

Clarifies some details of posting releases on SourceForge.
(doc/Release.htm [1.9]: 2000/04/17 22:59:24 lpd)

Converts the ps2epsi documentation to HTML. (doc/Ps2epsi.htm [1.1],
doc/Readme.htm [1.6], doc/ps2epsi.txt [1.2]: 2000/04/18 17:59:13 lpd)

Adds a couple of graphics library optimization projects.
(doc/Projects.htm [1.5]: 2000/04/19 04:05:11 lpd)

Adds a project for creating an OutputDevice resource instance for each
device. (doc/Projects.htm [1.6]: 2000/04/19 21:37:47 lpd)

Checks in the accumulated change log. (doc/Changes.htm [1.10]: 2000/04/20
07:24:22 lpd)

Removes the gp_ procedures for managing screen swapping between console and
graphics, which haven't been used for a long time and are no longer useful.
(doc/News.htm [1.35]: 2000/04/20 22:47:35 lpd)

Removes all remaining direct references to stdin/out/err from the library,
interpreter, and non-contributed drivers; moves the ersatz definitions of
stdin/out/err to a new header file. (doc/News.htm [1.36]: 2000/04/20
23:30:22 lpd)

Reduces the startup time for displaying PDF files, by skipping the creation
of pdfmarks for annotations and outlines when the output device doesn't
process pdfmarks. (doc/News.htm [1.38]: 2000/04/21 16:58:28 lpd)

Notes that even if SHARE_JPEG=1, the IJG library sources are required.
(doc/Make.htm [1.12]: 2000/04/27 07:39:05 lpd)

Documents the new -dPrinted[=true/false] switch for PDF files.
(doc/Use.htm [1.3]: 2000/04/27 08:17:05 lpd)

Adds a MD5Encode filter, which computes the 16-byte MD5 digest of the input.
No output is produced until the filter is closed. (doc/Language.htm [1.2]:
2000/04/27 14:39:57 lpd)

Updates the description of the project to produce higher-level PCL output.
(doc/Projects.htm [1.7]: 2000/04/28 10:42:02 lpd)

Adds a sample file containing a wide variety of PDF annotations; updates
documentation for this and some other overlooked files.
(doc/Psfiles.htm [1.4]: 2000/04/28 10:51:02 lpd)

Notes that the uniprint dnj750c.upp parameters are also good for the 450C.
(doc/Devices.htm [1.6]: 2000/04/28 14:27:02 lpd)

Updates release dates. (man/pdf2ps.1 [1.3], man/ps2ps.1 [1.5]: 2000/04/28
18:29:32 lpd)

Updates version numbers and dates for the 6.21 fileset.
(doc/Bug-form.htm [1.6], doc/Devices.htm [1.7], doc/Fonts.htm [1.4],
doc/Language.htm [1.3], doc/Make.htm [1.13], doc/Projects.htm [1.8],
doc/Ps2epsi.htm [1.2], doc/Psfiles.htm [1.5], doc/Readme.htm [1.7],
doc/Use.htm [1.4]: 2000/04/28 22:06:25 lpd)

Updates the news for the 6.21 fileset. (doc/News.htm [1.39]: 2000/04/28
22:18:16 lpd)

</pre><h2><a name="6.21 Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- Some makefile macros were used before being defined.
(devs.mak [1.9], lib.mak [1.9]: 2000/04/07 16:02:03 lpd)
	- `make install-data' didn't install lib/gs_frsd.ps or
lib/pdfopt.ps. (unixinst.mak [1.7]: 2000/04/07 19:17:48 lpd)
	- gsmake would get into a loop if the makefile was not a symbolic
link; `gsmake check' didn't accept a makefile name on the command line.
(toolbin/gsmake.tcl [1.2]: 2000/04/07 19:37:21 lpd)
	- `makemaster' referred to an undefined variable. (How could it ever
have worked?) (toolbin/makeset.tcl [1.3]: 2000/04/07 19:39:27 lpd)
	- A dependency wasn't updated when moving the gdevpsf* rules from
devs.mak to lib.mak. (lib.mak [1.10]: 2000/04/07 19:40:25 lpd)
	- The dependencies in the makefile weren't updated for the pdfwrite
font embedding overhaul. (devs.mak [1.11]: 2000/04/10 18:57:33 lpd)
	- Once again, the dependencies hadn't been updated. (int.mak [1.17]:
2000/04/11 15:59:42 lpd)
	- Setting pdfwrite parameters for a DCTEncode filter could cause a
crash (memory fault). (devs.mak [1.16]: 2000/04/13 01:53:07 lpd)
	- `make install' didn't install all the documentation files.
(unixinst.mak [1.9]: 2000/04/14 04:06:13 lpd)
	- The Color LaserJet 5 drivers were incorrectly identified as
"supported" rather than "contributed". (contrib.mak [1.7], devs.mak [1.17]:
2000/04/20 17:12:54 lpd)
	- PDF images with a bitmap Mask caused errors or produced incorrect
output. (int.mak [1.20]: 2000/04/24 00:59:04 lpd)

Completely redesigns the representation of CMaps, to reduce space
requirements and make comparing them more reasonable, changing gs_cmap to
gs_cmap_t and gx_code_map to gx_code_map_t. (****** NOTE ****** The
PostScript code currently only handles a few well-behaved CMap structures.)
(int.mak [1.16]: 2000/04/08 03:54:38 lpd)

Updates version #s to 6.21. (We should have done this earlier.)
(version.mak [1.12]: 2000/04/10 04:46:36 lpd)

Overhauls font embedding in the PDF writer: splits off the code into a new
file (gdevpdfe.c), writes embedded Type 1 fonts as Type 1C (CFF Type 2), and
adds a little bit of code for future support of Type 0 and CID-keyed fonts.
(devs.mak [1.10]: 2000/04/10 07:48:37 lpd)

Adds Function-based tint_transform procedures for Separation and DeviceN
color spaces. (lib.mak [1.11]: 2000/04/10 19:02:19 lpd)

Factors out code for writing functions and for adding filter-related entries
to a stream dictionary; implements the DefaultRenderingIntent distiller
parameter. (devs.mak [1.12]: 2000/04/11 16:06:57 lpd)

Implements additional distiller parameters: PreserveHalftoneInfo,
PreserveOverprintSetting, TransferFunctionInfo (except for Apply vs.
Remove), UCRandBGInfo. Splits off graphics state management into separate
files. Implements the remaining graphics state parameters (halftone,
transfer function, black generation, undercolor removal, halftone phase,
smoothness, overprint, stroke adjustment) ****** EXCEPT FOR IMAGES ******.
In anticipation of handling more general colors, renames pdf_set_color as
pdf_set_pure_color, and adds pdf_set_drawing_color. (devs.mak [1.13]:
2000/04/11 18:31:32 lpd)

Splits off creation and writing of color spaces, and writing color values,
into a separate file. Adds support for (Function-based) Separation and
DeviceN color spaces, general Pattern color spaces, and procedure-based
Indexed color spaces. Adds some code to support Pattern colors, but stubs it
out because it depends on changes in the image writing code that haven't
been integrated yet. In fact, most of the new code isn't called yet, either.
(devs.mak [1.14]: 2000/04/11 19:10:13 lpd)

In pdfwrite, rewrites the image writing code to use Cos objects rather than
direct printing, and splits off the creation of image dictionaries into a
new file; adds support for tiling with uncolored Patterns; implements
converting ImageType 4 images to their PDF 1.3 counterpart; starts to do the
same for ImageType 3. This code is "in progress" and likely to have problems
for a while. (devs.mak [1.15]: 2000/04/12 18:44:35 lpd)

Adds user-contributed uniprint parameter files for the Canon BJC-8200,
including an addition for the Red Hat printer data base.
(unixinst.mak [1.8]: 2000/04/14 03:59:57 lpd)

Adds code to write out CMaps, similar to the code for writing fonts, for
eventual embedding in PDF output. (int.mak [1.18], lib.mak [1.12]:
2000/04/14 07:17:24 lpd)

Completes code for reading and writing CMaps. (int.mak [1.19],
lib.mak [1.13]: 2000/04/16 03:05:29 lpd)

Adds a user-contributed driver for the Epson Stylus (Color) Photo printers.
(contrib.mak [1.6]: 2000/04/18 06:34:26 lpd)

Converts the ps2epsi documentation to HTML. (unixinst.mak [1.10]: 2000/04/18
17:59:13 lpd)

Checks in the accumulated change log. (version.mak [1.13]: 2000/04/20
07:24:22 lpd)

Converts the bmp* and bmpa* devices to -dev2, to make them const.
(devs.mak [1.18]: 2000/04/20 17:19:21 lpd)

Removes the gp_ procedures for managing screen swapping between console and
graphics, which haven't been used for a long time and are no longer useful.
(dvx-tail.mak [1.2], lib.mak [1.14], openvms.mak [1.3], openvms.mmk [1.4],
os2.mak [1.5], unix-aux.mak [1.2], watc.mak [1.3], watclib.mak [1.3],
winlib.mak [1.2]: 2000/04/20 22:47:35 lpd)

Removes all remaining direct references to stdin/out/err from the library,
interpreter, and non-contributed drivers; moves the ersatz definitions of
stdin/out/err to a new header file. (lib.mak [1.15], unix-gcc.mak [1.5]:
2000/04/20 23:30:22 lpd)

Adds compression for pdfwrite Patterns. (devs.mak [1.19]: 2000/04/24
06:13:02 lpd)

Adds a MD5Encode filter, which computes the 16-byte MD5 digest of the input.
No output is produced until the filter is closed. (devs.mak [1.20],
int.mak [1.21], lib.mak [1.16]: 2000/04/27 14:39:57 lpd)

Adds a user-contributed driver for the H-P 970Cxi inkjet printer.
(contrib.mak [1.8]: 2000/04/27 14:55:56 lpd)

Factors the H-P monochrome laser and inkjet drivers into a generic driver
and printer-specific clients. (devs.mak [1.21]: 2000/04/27 20:16:33 lpd)

Adds a user-contributed driver for the Brother HL-1250 laser printer. This
has a dual AFPL/GPL license, and a non-Aladdin copyright.
(contrib.mak [1.9]: 2000/04/27 20:18:39 lpd)

Once again, updates some dependency lists that had become inconsistent with
the code. (contrib.mak [1.10], devs.mak [1.22], lib.mak [1.17]: 2000/04/27
21:36:19 lpd)

Yet again, updates an out-of-date dependency list. (contrib.mak [1.11]:
2000/04/28 18:28:42 lpd)

Changes the check for documentation files having the correct embedded date.
(toolbin/pre [1.3]: 2000/04/28 18:29:14 lpd)

Updates version numbers and dates for the 6.21 fileset. (version.mak [1.14]:
2000/04/28 22:06:26 lpd)

</pre><h2><a name="6.21 Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- The e-mail address for reporting problems was out of date.
(lib/ps2epsi.ps [1.2]: 2000/04/10 02:27:21 lpd)
	- If a font didn't have a FontName (which is the case for bitmap
fonts produced by recent versions of dvips), ps2epsi caused an error.
(lib/ps2epsi.ps [1.3]: 2000/04/11 16:32:51 lpd)
	- Backs out contributed changes of 2000-03-05 because of bugs.
(ansi2knr.c [1.3]: 2000/04/13 03:41:48 lpd)
	- ps2epsi removed all ^M characters in the input, possibly
corrupting binary data. (lib/ps2epsi [1.2]: 2000/04/27 01:44:04 lpd)

Makes the ps2pdf scripts replace a .eps extension with .pdf, as they do with
.ps. (lib/ps2pdfwr [1.2], lib/ps2pdfxx.bat [1.2]: 2000/04/07 19:28:14 lpd)

Enhances pdf2ps to allow defaulting the output file name. (lib/pdf2ps [1.2]:
2000/04/11 14:23:24 lpd)

Makes the second argument of the pfbtopfa script optional, so 'pfbtopfa
dir/x.pfb' is equivalent to 'pfbtopfa dir/x.pfb x.pfa'. (lib/pfbtopfa [1.2]:
2000/04/12 17:41:41 lpd)

Adds user-contributed uniprint parameter files for the Canon BJC-8200,
including an addition for the Red Hat printer data base. (lib/bj8.rpd [1.1]:
2000/04/14 03:59:57 lpd)

Increases the VMThreshold when converting PostScript to PDF, to reduce
garbage collection overhead. (lib/ps2pdfwr [1.3]: 2000/04/17 19:06:58 lpd)

Moves the optimization prologue for ps2pdf from the command line to a
procedure, to avoid shell length limits. (lib/ps2pdfwr [1.4],
lib/ps2pdfxx.bat [1.3]: 2000/04/18 16:40:14 lpd)

Removes the gp_ procedures for managing screen swapping between console and
graphics, which haven't been used for a long time and are no longer useful.
(bench.c [1.2], gp_dosfb.c [1.2], gp_iwatc.c [1.2], gp_nofb.c [1.2]:
2000/04/20 22:47:35 lpd)

Checks in a file overlooked in the elimination of the gp_ console
procedures. (gp_os2.c [1.2]: 2000/04/20 23:27:21 lpd)

</pre><h2><a name="6.21 Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- The pdfwrite driver sometimes compressed images in an Indexed
color space with the DCTEncode filter, producing garbage. (gdevpsdi.c [1.4]:
2000/04/12 19:25:56 lpd)
	- Setting pdfwrite parameters for a DCTEncode filter could cause a
crash (memory fault). (gdevpsdf.h [1.7], gdevpsdi.c [1.5], gdevpsdp.c [1.4],
gdevpsdu.c [1.2]: 2000/04/13 01:53:07 lpd)
	- Compressing with DCTEncode tried to add the compression filter
twice. (gdevpsdi.c [1.6]: 2000/04/13 04:52:38 lpd)
	- The PDF writer could get an ioerror when downsampling images whose
size wasn't an exact multiple of the downsampling factor. (gdevpsdi.c [1.7],
gdevpsds.c [1.2], gdevpsds.h [1.2]: 2000/04/13 16:44:59 lpd)
	- Downsampled mask images could cause a memory access error.
(gdevpsdi.c [1.9]: 2000/04/18 16:37:04 lpd)
	- PDF Patterns weren't written correctly if the ProcessColorModel
wasn't Device RGB. (gdevpsdu.c [1.3]: 2000/04/24 05:40:30 lpd)
	- The [e]pswrite driver produced incorrect output for color images
with multiple data sources. (gdevps.c [1.5]: 2000/04/25 19:35:07 lpd)

Implements pdfwrite compression for mask images, using the same parameters
as for monochrome images. (gdevpsdi.c [1.8]: 2000/04/13 18:40:23 lpd)

Adds user-contributed uniprint parameter files for the Canon BJC-8200,
including an addition for the Red Hat printer data base.
(lib/bj8gc12f.upp [1.1], lib/bj8hg12f.upp [1.1], lib/bj8oh06n.upp [1.1],
lib/bj8pa06n.upp [1.1], lib/bj8pp12f.upp [1.1], lib/bj8ts06n.upp [1.1]:
2000/04/14 03:59:57 lpd)

Adds a user-contributed driver for the Epson Stylus (Color) Photo printers.
(gdevphex.c [1.1]: 2000/04/18 06:34:26 lpd)

Converts the bmp* and bmpa* devices to -dev2, to make them const.
(gdevbmp.c [1.2], gdevbmpa.c [1.2]: 2000/04/20 17:19:21 lpd)

Documents the astounding fact that the Xt implementation actually writes
into the XtResource tables. (gdevxres.c [1.2]: 2000/04/20 19:59:28 lpd)

Removes all remaining direct references to stdin/out/err from the library,
interpreter, and non-contributed drivers; moves the ersatz definitions of
stdin/out/err to a new header file. (gdevxxf.c [1.3]: 2000/04/20 23:30:22
lpd)

When writing PDF output, reduces the size of compressed images in Indexed
color spaces by not using a Predictor for them. (gdevpsdi.c [1.10]:
2000/04/21 06:46:08 lpd)

Adds an internal filter for converting images to Indexed form if possible.
(gdevpsds.c [1.3], gdevpsds.h [1.3]: 2000/04/21 19:26:37 lpd)

Cleans up code by replacing macros with procedures or variables.
(gdevps.c [1.6]: 2000/04/25 20:35:46 lpd)

Makes the [e]pswrite and pdfwrite drivers merge adjacent horizontal or
vertical line segments going in the same direction. This makes a big
difference for PostScript files produced by certain applications.
(gdevps.c [1.7]: 2000/04/25 22:39:54 lpd)

Adds a user-contributed driver for the H-P 970Cxi inkjet printer.
(gdevdj9.c [1.1]: 2000/04/27 14:55:56 lpd)

Factors the H-P monochrome laser and inkjet drivers into a generic driver
and printer-specific clients. (gdevdjet.c [1.3], gdevdljm.c [1.1],
gdevdljm.h [1.1]: 2000/04/27 20:16:33 lpd)

Adds a user-contributed driver for the Brother HL-1250 laser printer. This
has a dual AFPL/GPL license, and a non-Aladdin copyright. (gdevhl12.c [1.1]:
2000/04/27 20:18:39 lpd)

Once again, updates some dependency lists that had become inconsistent with
the code. (gdevdj9.c [1.2]: 2000/04/27 21:36:19 lpd)

Makes the printers in gdevdjet.c that support setting the number of copies
use this feature when multiple copies are requested. (gdevdjet.c [1.4],
gdevdljm.c [1.2], gdevdljm.h [1.2]: 2000/04/28 13:37:47 lpd)

</pre><h2><a name="6.21 PDF writer"></a>PDF writer</h2><pre>

Fixes problems:
	- The Cos objects of resources not shared between pages weren't
freed at the end of each page. (gdevpdf.c [1.9]: 2000/04/10 04:17:56 lpd)
	- gdevpdfe.c was omitted from the check-in for the overhaul of
pdfwrite font embedding. (gdevpdfe.c [1.1]: 2000/04/10 16:01:29 lpd)
	- pdfwrite output could contain commands to set the line width to a
negative value, which PostScript allows but PDF doesn't. (gdevpdfd.c [1.6]:
2000/04/12 19:51:14 lpd)
	- The changes for the new color handling code caused stroked
graphics not to output the line width. (new bug since 6.20)
(gdevpdfd.c [1.7]: 2000/04/13 03:47:21 lpd)
	- Pattern resources were written with incorrectly scaled XStep and
YStep, and without a Type entry. (gdevpdfc.c [1.3], gdevpdfi.c [1.10]:
2000/04/13 04:12:33 lpd)
	- The PDF writer could get an ioerror when downsampling images whose
size wasn't an exact multiple of the downsampling factor.
(gdevpdfi.c [1.11]: 2000/04/13 16:44:59 lpd)
	- Bitmapped characters weren't written properly on the output file
(new bug since 6.20). (gdevpdfg.h [1.4], gdevpdfi.c [1.12],
gdevpdfj.c [1.2]: 2000/04/13 17:24:54 lpd)
	- gxdcolor.h was required for gxpcolor.h, but wasn't included.
(gdevpdfc.c [1.4]: 2000/04/18 17:42:55 lpd)
	- A table of constant strings wasn't declared as const.
(gdevpdfp.c [1.7]: 2000/04/20 17:37:31 lpd)
	- When pdfwrite was producing PDF 1.3 output, the base 14 fonts were
never embedded, rather than being handled like all other fonts.
(gdevpdff.c [1.4]: 2000/04/20 23:49:40 lpd)
	- Indexed color spaces used in in-line images were being written
incorrectly. Also optimizes Indexed images by converting RGB palettes to
Gray if all the entries are actually gray. (gdevpdfc.c [1.5]: 2000/04/21
15:29:20 lpd)
	- The recent optimization for using the ' command in PDF output lost
track of the leading value between blocks of text, causing lines in later
blocks to overprint each other. (gdevpdfu.c [1.9]: 2000/04/21 22:29:05 lpd)
	- Backs out the change that allowed embedding of the base 14 fonts,
because it produces invalid output. (gdevpdff.c [1.5]: 2000/04/22 00:13:11
lpd)
	- Colored Patterns requiring masking weren't written properly.
(gdevpdfc.c [1.6]: 2000/04/24 00:09:37 lpd)
	- Patterns were written upside-down. (gdevpdfc.c [1.7]: 2000/04/24
01:11:36 lpd)
	- PDF Patterns weren't written correctly if the ProcessColorModel
wasn't Device RGB. (gdevpdf.c [1.15], gdevpdfc.c [1.8], gdevpdfg.h [1.5],
gdevpdfi.c [1.13], gdevpdfx.h [1.15]: 2000/04/24 05:40:30 lpd)
	- The color space for images wasn't always written in the correct
form (an object reference for image XObjects, a resource name for in-line
images). (gdevpdfi.c [1.14]: 2000/04/28 12:07:37 lpd)
	- Patterns were sometimes written with a duplicate Type element.
(gdevpdfc.c [1.10]: 2000/04/28 12:23:54 lpd)
	- Patterns were sometimes written twice, with an empty definition
the second time. (gdevpdfi.c [1.15]: 2000/04/28 12:24:42 lpd)

Overhauls font embedding in the PDF writer: splits off the code into a new
file (gdevpdfe.c), writes embedded Type 1 fonts as Type 1C (CFF Type 2), and
adds a little bit of code for future support of Type 0 and CID-keyed fonts.
(gdevpdff.c [1.3], gdevpdff.h [1.2], gdevpdft.c [1.6], gdevpdfw.c [1.3]:
2000/04/10 07:48:37 lpd)

Factors out code for writing functions and for adding filter-related entries
to a stream dictionary; implements the DefaultRenderingIntent distiller
parameter. (gdevpdf.c [1.10], gdevpdfu.c [1.6], gdevpdfx.h [1.8]: 2000/04/11
16:06:57 lpd)

Adds ExtGState resources. These should be written and freed at the end of
each page, but they aren't yet. (gdevpdfx.h [1.9]: 2000/04/11 16:38:14 lpd)

Implements additional distiller parameters: PreserveHalftoneInfo,
PreserveOverprintSetting, TransferFunctionInfo (except for Apply vs.
Remove), UCRandBGInfo. Splits off graphics state management into separate
files. Implements the remaining graphics state parameters (halftone,
transfer function, black generation, undercolor removal, halftone phase,
smoothness, overprint, stroke adjustment) ****** EXCEPT FOR IMAGES ******.
In anticipation of handling more general colors, renames pdf_set_color as
pdf_set_pure_color, and adds pdf_set_drawing_color. (gdevpdf.c [1.11],
gdevpdfd.c [1.4], gdevpdfg.c [1.1], gdevpdfg.h [1.1], gdevpdfi.c [1.8],
gdevpdft.c [1.7], gdevpdfu.c [1.7], gdevpdfx.h [1.10]: 2000/04/11 18:31:32
lpd)

Splits off creation and writing of color spaces, and writing color values,
into a separate file. Adds support for (Function-based) Separation and
DeviceN color spaces, general Pattern color spaces, and procedure-based
Indexed color spaces. Adds some code to support Pattern colors, but stubs it
out because it depends on changes in the image writing code that haven't
been integrated yet. In fact, most of the new code isn't called yet, either.
(gdevpdf.c [1.12], gdevpdfc.c [1.1], gdevpdfd.c [1.5], gdevpdfg.c [1.2],
gdevpdfg.h [1.2], gdevpdft.c [1.8], gdevpdfx.h [1.11]: 2000/04/11 19:10:13
lpd)

Integrates a couple of minor overlooked changes in the text-writing code.
(gdevpdf.c [1.13], gdevpdft.c [1.9], gdevpdfx.h [1.12]: 2000/04/11 19:20:56
lpd)

In pdfwrite, rewrites the image writing code to use Cos objects rather than
direct printing, and splits off the creation of image dictionaries into a
new file; adds support for tiling with uncolored Patterns; implements
converting ImageType 4 images to their PDF 1.3 counterpart; starts to do the
same for ImageType 3. This code is "in progress" and likely to have problems
for a while. (gdevpdf.c [1.14], gdevpdfc.c [1.2], gdevpdfg.c [1.3],
gdevpdfg.h [1.3], gdevpdfi.c [1.9], gdevpdfj.c [1.1], gdevpdfx.h [1.13]:
2000/04/12 18:44:35 lpd)

Tweaks the PDF writer to use the ' command for positioning text when
possible (small optimization only). (gdevpdfg.c [1.4], gdevpdft.c [1.10],
gdevpdfu.c [1.8], gdevpdfx.h [1.14]: 2000/04/18 16:08:16 lpd)

Reduces the startup time for displaying PDF files, by skipping the creation
of pdfmarks for annotations and outlines when the output device doesn't
process pdfmarks. (gdevpdfp.c [1.8]: 2000/04/21 16:58:28 lpd)

Adds compression for pdfwrite Patterns. (gdevpdfc.c [1.9]: 2000/04/24
06:13:02 lpd)

Makes the [e]pswrite and pdfwrite drivers merge adjacent horizontal or
vertical line segments going in the same direction. This makes a big
difference for PostScript files produced by certain applications.
(gdevpdf.c [1.16], gdevpdfd.c [1.8]: 2000/04/25 22:39:54 lpd)

Updates the list of remaining pdfwrite tasks. (gdevpdfp.c [1.9]: 2000/04/27
21:36:52 lpd)

</pre><h2><a name="6.21 Interpreter (PDF)"></a>Interpreter (PDF)</h2><pre>

Fixes problems:
	- Embedded subset CFF fonts in PDF files were defined using the name
in the font data rather than the font name in the PDF resource object. (bug
#102901) (lib/pdf_ops.ps [1.5]: 2000/04/11 05:33:13 lpd)
	- When processing a PDF file, the font substitution heuristic based
on the FontName sometimes overrode the Flags information in the
FontDescriptor. (lib/pdf_font.ps [1.6]: 2000/04/20 06:36:02 lpd)
	- PDF images with a bitmap Mask caused errors or produced incorrect
output. (lib/pdf_draw.ps [1.10]: 2000/04/24 00:59:04 lpd)
	- Masked images weren't drawn properly, because the two data sources
could reference the same file. (lib/pdf_draw.ps [1.11]: 2000/04/24 05:39:45
lpd)
	- *Really* fixes the problem of data source aliasing for masked
images. (lib/pdf_draw.ps [1.12]: 2000/04/24 05:53:43 lpd)
	- If a font specified Subtype = /TrueType but the actual font used
was not a TrueType font, any Encoding in the Font object should be ignored.
(This is a hack required by the PDF specification.) (lib/pdf_font.ps [1.7]:
2000/04/24 06:37:18 lpd)
	- Colored annotation borders caused an error; 0-width borders were
drawn even though they shouldn't be; Link and Stamp annotations weren't
drawn at all. Also adds a new -dPrinted[=true/false] switch to choose
whether to produce "screen" or "printer" output. (code from Artifex)
(lib/pdf_draw.ps [1.13], lib/pdf_main.ps [1.7]: 2000/04/27 08:16:40 lpd)

Makes undefined XObject resources for the Do operator produce a warning
rather than an error, to parallel Acrobat Reader. (lib/pdf_draw.ps [1.9]:
2000/04/16 07:48:23 lpd)

Tweaks up the performance of the PDF interpreter loop slightly.
(lib/pdf_base.ps [1.7]: 2000/04/18 05:45:49 lpd)

Reduces the startup time for displaying PDF files, by skipping the creation
of pdfmarks for annotations and outlines when the output device doesn't
process pdfmarks. (lib/pdf_main.ps [1.6]: 2000/04/21 16:58:28 lpd)

</pre><h2><a name="6.21 Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- Fixes some signed/unsigned char * mismatches. (zfrsd.c [1.3]:
2000/04/07 15:27:14 lpd)
	- Automatic loading of fonts from resource files didn't work
(usually caused an unmatchedmark or typecheck error).
(lib/gs_fonts.ps [1.5], lib/gs_res.ps [1.9]: 2000/04/08 03:45:41 lpd)
	- A -> should have been a . (only shows up on 64-bit systems).
(zfunc4.c [1.3]: 2000/04/09 20:04:00 lpd)
	- the most recent 'fixes' for loading font resources caused all
built-in fonts to be returned as null. (lib/gs_res.ps [1.10]: 2000/04/09
22:51:01 lpd)
	- /Category defineresource didn't make the category definition
dictionary read-only. (lib/gs_res.ps [1.11]: 2000/04/10 18:29:04 lpd)
	- Attempting to build an invalid FunctionType 4 function could cause
a memory access error. (zfunc4.c [1.4]: 2000/04/10 19:38:53 lpd)
	- Embedded subset CFF fonts in PDF files were defined using the name
in the font data rather than the font name in the PDF resource object. (bug
#102901) (lib/gs_cff.ps [1.4]: 2000/04/11 05:33:13 lpd)
	- CMaps with more than one code space range weren't converted to the
internal form correctly; begincidchar and beginnotdefchar caused errors.
(lib/gs_cmap.ps [1.3], zfcmap.c [1.6]: 2000/04/14 07:53:10 lpd)
	- flushfile and closefile didn't properly flush streams whose final
target was a procedure, and closefile didn't actually close them. (This is a
very old bug.) (zfproc.c [1.2]: 2000/04/18 05:50:15 lpd)
	- CIDFontType 0 CIDFonts in which some FDArray element had no Subrs
caused an error. (lib/gs_cidfn.ps [1.14]: 2000/04/18 05:58:08 lpd)
	- Attempting to set a PageSize with 4 elements actually set the
PageSize (to the first 2 elements), rather than ignoring the attempt. (This
is just a patch to prevent some PageMaker files from being thrown off by the
4-element PageSizes in Input Attributes.) (lib/gs_setpd.ps [1.2]: 2000/04/19
06:01:19 lpd)
	- When choosing a substituted font, 'Serif' had priority over
'Sans', so unknown fonts with 'SansSerif' in their name would have a serif
font substituted. (lib/gs_fonts.ps [1.6]: 2000/04/19 13:48:48 lpd)
	- The fix to make setpagedevice ignore 4-element PageSizes in
InputAttributes was broken. (It's impossible that it could ever have worked,
despite the fact that we tested it.) (lib/gs_setpd.ps [1.3]: 2000/04/20
06:24:39 lpd)
	- When processing a PDF file, the font substitution heuristic based
on the FontName sometimes overrode the Flags information in the
FontDescriptor. (lib/gs_fonts.ps [1.7]: 2000/04/20 06:36:02 lpd)
	- Showing a string in a Type 1 font with a singular combined matrix
(e.g., after 0 scalefont setfont) caused an error instead of doing nothing.
(zchar1.c [1.3]: 2000/04/22 00:34:46 lpd)
	- Images with multiple file DataSources where two or more of the
files were the same caused a crash. (zimage.c [1.3]: 2000/04/24 00:07:41
lpd)
	- .reusablestreamdecode wasn't defined for use in LanguageLevel 2.
(The ReusableStreamDecode filter itself was properly defined.)
(lib/gs_frsd.ps [1.3]: 2000/04/24 00:45:38 lpd)
	- Loading an unknown font gave a spurious "non-string font name"
message; unknown fonts with names containing style strings like Bold or
Italic caused an error. (bug introduced since 6.20) (lib/gs_fonts.ps [1.8]:
2000/04/28 22:03:58 lpd)

Adds a workaround for misnamed glyphs in some Microsoft TrueType font 'post'
tables. (lib/gs_mgl_e.ps [1.2], lib/gs_ttf.ps [1.4]: 2000/04/08 01:53:16
lpd)

Completely redesigns the representation of CMaps, to reduce space
requirements and make comparing them more reasonable, changing gs_cmap to
gs_cmap_t and gx_code_map to gx_code_map_t. (****** NOTE ****** The
PostScript code currently only handles a few well-behaved CMap structures.)
(lib/gs_cmap.ps [1.2], zfcmap.c [1.4], zfont0.c [1.2]: 2000/04/08 03:54:38
lpd)

Updates version #s to 6.21. (We should have done this earlier.)
(lib/gs_init.ps [1.7]: 2000/04/10 04:46:36 lpd)

Makes Separation and DeviceN color spaces detect that their tint transform
procedure is a Function, and call it rather than using its cached values.
(zcsdevn.c [1.2], zcssepr.c [1.3]: 2000/04/10 19:39:44 lpd)

Adds code to write out CMaps, similar to the code for writing fonts, for
eventual embedding in PDF output. (zfcmap.c [1.5]: 2000/04/14 07:17:24 lpd)

Completes code for reading and writing CMaps. (lib/gs_cmap.ps [1.4],
zfcmap.c [1.7]: 2000/04/16 03:05:29 lpd)

Works around a bug in the AdobePS5 Windows driver, which emits CMaps lacking
the required CMapName entry. (lib/gs_cidfn.ps [1.15], lib/gs_cmap.ps [1.5]:
2000/04/18 07:18:42 lpd)

Moves the optimization prologue for ps2pdf from the command line to a
procedure, to avoid shell length limits. (lib/gs_pdfwr.ps [1.3]: 2000/04/18
16:40:14 lpd)

Removes all remaining direct references to stdin/out/err from the library,
interpreter, and non-contributed drivers; moves the ersatz definitions of
stdin/out/err to a new header file. (imainarg.c [1.2]: 2000/04/20 23:30:22
lpd)

Speeds up Type 1 font loading slightly by removing a conversion from binary
to hex and back again. (zmisc1.c [1.2]: 2000/04/22 16:03:18 lpd)

Adds a MD5Encode filter, which computes the 16-byte MD5 digest of the input.
No output is produced until the filter is closed. (zfmd5.c [1.1]: 2000/04/27
14:39:57 lpd)

Adds a sample file containing a wide variety of PDF annotations; updates
documentation for this and some other overlooked files.
(examples/annots.pdf [1.1]: 2000/04/28 10:51:02 lpd)

</pre><h2><a name="6.21 Streams"></a>Streams</h2><pre>

Fixes problems:
	- FILE_IMPLEMENTATION=both was broken (by the introduction of
sread_subfile). (sfxfd.c [1.3]: 2000/04/10 02:41:48 lpd)
	- flushfile and closefile didn't properly flush streams whose final
target was a procedure, and closefile didn't actually close them. (This is a
very old bug.) (stream.c [1.6]: 2000/04/18 05:50:15 lpd)
	- The PixelDifference filters (Predictor = 2) weren't implemented
for Colors > 4 and BitsPerComponent != 8, and they dropped trailing bytes if
the length of the data wasn't an exact multiple of the pixel size.
(spdiff.c [1.2]: 2000/04/22 03:55:22 lpd)

Enhances the ASCII85Encode filter to avoid %! at the beginning of a line of
output, in addition to avoiding %% which it did already. (sa85x.h [1.2],
sfilter2.c [1.2]: 2000/04/08 01:30:36 lpd)

Removes all remaining direct references to stdin/out/err from the library,
interpreter, and non-contributed drivers; moves the ersatz definitions of
stdin/out/err to a new header file. (std.h [1.2]: 2000/04/20 23:30:22 lpd)

Speeds up Type 1 font loading slightly by removing a conversion from binary
to hex and back again. (seexec.c [1.2], sfilter.h [1.5]: 2000/04/22 16:03:18
lpd)

Adds a MD5Encode filter, which computes the 16-byte MD5 digest of the input.
No output is produced until the filter is closed. (smd5.c [1.1],
smd5.h [1.1]: 2000/04/27 14:39:57 lpd)

</pre><h2><a name="6.21 Library"></a>Library</h2><pre>

Fixes problems:
	- Fixes some signed/unsigned char * mismatches. (gdevpsf2.c [1.5]:
2000/04/07 15:27:14 lpd)
	- Writing a Type 2 CFF with multiply-encoded glyphs produced an
incorrect Encoding. Also, when producing output for PDF 1.2 files, no longer
emits certain opcodes that cause an (unjustified) error in Acrobat Reader 3
for Linux. (gdevpsf.h [1.3], gdevpsf2.c [1.6]: 2000/04/10 07:42:31 lpd)
	- gsmisc.c didn't compile in DEBUG mode on systems with a
non-standard prototype for the sqrt function. (gsmisc.c [1.3]: 2000/04/10
16:00:31 lpd)
	- One picky compiler complained about (1L << 31). (gsmisc.c [1.4]:
2000/04/10 17:21:41 lpd)
	- putdeviceparams allowed a PageSize or .MediaSize value with the
wrong number of elements to take effect. (gsdparam.c [1.2]: 2000/04/19
05:59:05 lpd)
	- The elimination of stdin/out/err also eliminated some #defines
that are needed for error printout. (gsio.h [1.3]: 2000/04/21 06:39:17 lpd)
	- The structure descriptor for ImageType 3 images was public rather
than private. (gsiparm3.h [1.3], gximage3.c [1.2]: 2000/04/22 07:02:18 lpd)
	- The "point matching" feature of TrueType composite glyphs wasn't
implemented, causing some composite (accented) characters to have their
accents misplaced. (gstype42.c [1.4]: 2000/04/25 07:22:50 lpd)

Completely redesigns the representation of CMaps, to reduce space
requirements and make comparing them more reasonable, changing gs_cmap to
gs_cmap_t and gx_code_map to gx_code_map_t. (****** NOTE ****** The
PostScript code currently only handles a few well-behaved CMap structures.)
(gsfcmap.c [1.4], gsfcmap.h [1.2], gxfcmap.h [1.3], gxfont0.h [1.2]:
2000/04/08 03:54:38 lpd)

Adds Function-based tint_transform procedures for Separation and DeviceN
color spaces. (gscdevn.c [1.3], gscdevn.h [1.2], gscsepr.c [1.3],
gscsepr.h [1.2]: 2000/04/10 19:02:19 lpd)

Adds code to write out CMaps, similar to the code for writing fonts, for
eventual embedding in PDF output. (gdevpsf.h [1.4], gdevpsfm.c [1.1]:
2000/04/14 07:17:24 lpd)

Completes code for reading and writing CMaps. (gdevpsf.h [1.5],
gdevpsfm.c [1.2], gsccode.h [1.3], gsfcid.c [1.3], gsfcmap.c [1.5],
gxcid.h [1.2], gxfcmap.h [1.4]: 2000/04/16 03:05:29 lpd)

Removes the gp_ procedures for managing screen swapping between console and
graphics, which haven't been used for a long time and are no longer useful.
(gp.h [1.3]: 2000/04/20 22:47:35 lpd)

Removes all remaining direct references to stdin/out/err from the library,
interpreter, and non-contributed drivers; moves the ersatz definitions of
stdin/out/err to a new header file. (gsdevice.c [1.3], gsio.h [1.2],
gsmisc.c [1.5], gxdevice.h [1.2]: 2000/04/20 23:30:22 lpd)

Adds an essential new file overlooked in the removal of references to
stdin/out/err. (gxstdio.h [1.1]: 2000/04/20 23:50:20 lpd)

Makes the [e]pswrite and pdfwrite drivers merge adjacent horizontal or
vertical line segments going in the same direction. This makes a big
difference for PostScript files produced by certain applications.
(gdevvec.c [1.2], gdevvec.h [1.2]: 2000/04/25 22:39:54 lpd)

Adds template macros for printer devices that implement print_page_copies
rather than print_page. (gdevprn.c [1.2], gdevprn.h [1.3]: 2000/04/28
13:36:16 lpd)

<hr>

<h1><a name="Version6.20"></a>Version 6.20 (2000-04-06)</h1>

<p>
This fileset includes the first steps towards bringing the pdfwrite driver
closer to matching Acrobat Distiller 4.  Highlights:

<ul>

<li> Reimplementation of CIDFontType 0 support in C rather than PostScript;

<li> Parsing (but not functional implementation) of nearly all the Acrobat
Distiller 4 parameters;

<li> Implementation of AutoRotatePages and DCTEncode filtering in the PDF
writer;

<li> A PDF linearizer ("optimizer").

</ul>

<p>
All problems registered on SourceForge numbered 103963 or lower are closed,
except for the following: 101549, 101814, 101829, 101905, 101955, 102046,
102047, 102132, 102146, 102735, 102901, 103016, 103528, 103963.

<pre>

<h2><a name="6.20_Incompatible_changes"></a>Incompatible changes</h2>

(Procedures)
	- The default value of FPU_TYPE in all Windows and OS/2 makefiles
is now 387 rather than 0.
	- The process for reporting problems has changed significantly.
(PDF writer)
	- The Cos procedures no longer take the device as an argument,
except for object-creating procedures, which now take the device rather
than an allocator.
	- The is_object member of Cos values is replaced by value_type.
Clients must use COS_VALUE_IS_OBJECT() to test whether a value is an object
reference.
	- The Cos procedures that take C strings no longer copy the string.
	- The argument of cos_write_object is no longer const.
(Drivers)
	- The default BufferSpace for printer drivers is now 4 Mb.
	- Device halftone order implementations must now provide a new
bit_index procedure.
	- The image argument for psdf_setup_image_filters is changed from
gs_image_t to gs_pixel_image_t.
	- The font-related psdf_ procedures are renamed psf_.
(Streams)
	- The interface to the [T]BCP filters is now in a separate file,
sbcp.h.
(PDF interpreter)
	- The internal beginpage procedure is renamed dictbeginpage, and
now takes a dictionary argument.
(Interpreter)
	- The argument list for the internal build_gs_TrueType_font
procedure has changed.
	- The zcharstring_glyph_outline procedure is renamed
zchar1_glyph_outline.
	- The Instances dictionary of resources is renamed .Instances.
(Library)
	- ImageType 4 images now give an error if a MaskColor value is out
of the range of possible sample values.
	- The definition of gs_param_key_t, the key type returned by
parameter list enumeration, is changed.
	- Implementors of parameter lists must now call gs_param_list_init
to initialize the common members.
	- st_indexed_map is now private.  Clients allocating instances of
this structure must now call alloc_indexed_map.
	- Setting a transfer map as the identity mapping now requires
calling gx_set_identity_transfer.
	- gs_cid_system_info is renamed gs_cid_system_info_t.
	- The get_outline procedure of a Type 42 or Type 11 (CIDFontType 0)
font now returns 1 if the string was newly allocated and can be freed by the
client.
	- The procs member of gs_type1_data is now an in-line structure
rather than a pointer to a const structure.


<h2><a name="6.20 Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- If log2_transfer_map_size > 8, identity transfer functions
returned garbage. The fix requires that if a client wants to set a transfer
function to the identity mapping, it must call gx_set_identity_transfer
rather than simply setting the procedure to gs_identity_transfer.
(doc/News.htm [1.13]: 2000/03/19 17:14:47 lpd)
	- In PDF files, the page CropBox was not being used to clip the
output. (doc/News.htm [1.18]: 2000/03/21 23:08:32 lpd)
	- Fixes several problems in resourceforall and resource loading: the
operands of resourceforall were restored even in the case of an error in the
client's procedure; the name Instances had special meaning for some Adobe
code; resourceforall caused an invalidaccess error if an operand was in
local VM but the current VM was global; loading a resource from a file could
cause a typecheck error if the file left values on the operand stack.
(doc/News.htm [1.25]: 2000/04/04 22:26:02 lpd)
	- The location of the lists of supported and unsupported drivers was
incorrect. (doc/Bug-info.htm [1.2]: 2000/04/07 03:01:52 lpd)

Undoes an accidental RCS ID substitution in what was supposed to be literal
text. (doc/Htmstyle.htm [1.2]: 2000/03/18 22:29:03 lpd)

Increments the version number to 6.20, in anticipation of the next release.
(We do this at the beginning of the development for a release, not the end.)
(doc/History6.htm [1.4], doc/News.htm [1.6]: 2000/03/19 00:27:22 lpd)

Splits out the [T]BCP filter interface into a separate file.
(doc/News.htm [1.7]: 2000/03/19 02:40:18 lpd)

Documents the fact that ImageType 4 images now cause an error for
out-of-range MaskColor values. (doc/News.htm [1.8]: 2000/03/19 04:32:09 lpd)

Updates the change log with recent changes. (doc/Changes.htm [1.4]:
2000/03/19 05:39:58 lpd)

Adds a new document listing projects with which we are seeking help. Also
makes the description of Changes.htm and News.htm more accurate.
(doc/New-user.htm [1.2], doc/Projects.htm [1.1], doc/Readme.htm [1.3]:
2000/03/19 06:07:15 lpd)

Changes the default value of BufferSpace to 4 Mb. In desktop applications,
this is a reasonable value that can substantially improve performance
(especially for color printers); embedded applications will want to set
BufferSpace themselves in any case. (doc/News.htm [1.9]: 2000/03/19 06:51:13
lpd)

Changes the key type returned by parameter list enumeration to include a
persistence flag, makes C parameter lists support non-persistent keys, and
upgrades GC descriptors so that parameter lists can be used non-transiently;
updates implementors of parameter lists to call gs_param_list_init to
initialize the common members, which is now required. (doc/News.htm [1.10]:
2000/03/19 15:16:11 lpd)

Documents the fact that drivers that device halftone order implementations
must now provide the new bit_index procedure. (This should have been
documented when bit_index was introduced!) (doc/News.htm [1.11]: 2000/03/19
15:47:47 lpd)

Makes st_indexed_map private. Clients must now use the constructor procedure
alloc_indexed_map rather than allocating instances directly.
(doc/News.htm [1.12]: 2000/03/19 16:37:28 lpd)

Update the date and change log for the latest batches of checked-in changes.
(doc/Changes.htm [1.5]: 2000/03/19 17:29:57 lpd)

Adds a PDF linearizer ("optimizer"). This is a separate utility (not
integrated with the pdfwrite driver), written in PostScript.
(doc/Psfiles.htm [1.2]: 2000/03/20 04:31:22 lpd)

Adds parsing for the remaining Acrobat Distiller 4 parameters. Implements
the LockDistillerParams, xxxDownsampleThreshold, xxxImageDict, and
xxxACSImageDict distiller parameters. Implements DCTEncode as an
xxxImageFilter option (it used to cause a crash). Makes the
AutoFilterxxxImages distiller parameters select JPEG encoding (with ACSDict)
if the image has 8 bits per component and is not Indexed, and LZW/Flate
otherwise: this still isn't right, but it's closer. Implementation changes:
Changes the implementation of distiller parameter dictionaries from stream
states to parameter lists; changes the test for masks in
psdf_setup_image_filters, and changes the image argument from gs_image_t to
gs_pixel_image_t. (doc/News.htm [1.14]: 2000/03/20 05:40:04 lpd)

Moves font-writing support into a new module (gdevpsf*), changing the source
file names. Adds the ability to write CFF fonts, with either Type 1 or Type
2 CharStrings; unfortunately, Acrobat Reader appears not to accept CFF fonts
with Type 1 CharStrings. Adds the ability to convert Type 1 CharStrings to
Type 2, including optimizing sequences of Type 1 operators into a single
Type 2 operator. Implements writing CIDFontType 0 CFF fonts (CIDFonts) [NOT
TESTED]. Starts (just barely) to remove more unneeded information from
embedded TrueType fonts. (doc/News.htm [1.15]: 2000/03/20 07:02:12 lpd)

Updates the consolidated change log with today's changes.
(doc/Changes.htm [1.6]: 2000/03/20 07:18:38 lpd)

Starts to move support for CIDFontType 0 and 2 into C code, needed by the
PDF writer for handling CID-keyed fonts. Implements GlyphDirectory for
CIDFonts. Makes GDBytes and CIDMapOffset optional for CIDFontType 0 fonts
that have a GlyphDirectory (not documented in the PLRM, but clearly
correct). Implements Adobe 3011 features: integer and dictionary CIDMaps,
and the MetricsCount entry, in CIDFontType 2 fonts (but only in the C code,
which isn't hooked in yet, not in the PostScript code in gs_cidfn.ps.)
(doc/News.htm [1.16]: 2000/03/20 19:53:06 lpd)

Notes that the argument list for the internal build_gs_TrueType_font
procedure has changed, as part of the CIDFont migration to C code.
(doc/News.htm [1.17]: 2000/03/20 20:04:20 lpd)

Adds invocation scripts and documentation for the PDF "optimizer".
(man/pdfopt.1 [1.1]: 2000/03/21 17:01:33 lpd)

Updates information about reporting problems when using Ghostview or GSview.
(doc/Bug-form.htm [1.3], doc/New-user.htm [1.3]: 2000/03/22 22:13:49 lpd)

Checks in the latest consolidated change log. (doc/Changes.htm [1.7]:
2000/03/24 05:04:55 lpd)

Substantially enhances the Cos object machinery. Interface: Adds a few more
procedures, including a procedure to create a stream that writes directly
into a Cos stream object, procedures for putting more kinds of values into
arrays and dictionaries, and a param_list interface. Changes Cos objects to
store a reference to the PDF device, and removes the device argument from
all Cos procedures other than object creation. Replaces the Boolean
is_object member of Cos values by a value_type enum: clients must now use
COS_VALUE_IS_OBJECT() to test whether a value is an object reference. To
reduce allocator overhead, makes the Cos procedures that take C strings no
longer copy the string. Records whether each Cos object has been written
into the output, so that in the future (but not in this batch of changes)
resource definitions can be copied at the end of each page. Implementation:
Moves more of the implementation of Cos objects to the .c file.
(doc/News.htm [1.19]: 2000/03/24 06:12:52 lpd)

Adds parsing for the remaining Acrobat Distiller 4 parameters, although most
of them don't have any effect yet; brings documentation up to date.
(doc/Ps2pdf.htm [1.3]: 2000/03/28 07:36:58 lpd)

Implements LockDistillerParams; completes the StartPage/EndPage fix checked
in just before. (doc/Ps2pdf.htm [1.4]: 2000/03/28 07:52:06 lpd)

Changes the default value of FPU_TYPE in all Windows and OS/2 makefiles from
0 to 387, since all current desktop CPUs include floating point hardware.
(doc/News.htm [1.20]: 2000/03/28 17:03:48 lpd)

Changes the get_outline / glyph_data procedure for getting encoded font
outline data to return an indication of whether the outline data were just
allocated and can be freed by the client. (This is a possibly
non-backward-compatible change.) (doc/News.htm [1.21]: 2000/03/28 18:47:02
lpd)

Adds a note about bogus "ANSI aliasing" warnings from the DEC C compiler.
(doc/Make.htm [1.8]: 2000/03/29 19:29:08 lpd)

Changes the procs structure of gs_type1_data to an in-line structure rather
than a pointer to a const structure. (Needed for moving CIDFontType 0
support into C.) (doc/News.htm [1.22]: 2000/03/29 22:10:31 lpd)

Updates the change log with recent changes. (doc/Changes.htm [1.8]:
2000/03/30 07:59:39 lpd)

Creates a real list of projects on which help would be appreciated.
(doc/Projects.htm [1.2]: 2000/04/01 00:43:11 lpd)

Finishes implementing the ability to write CIDFontType 0 CFFs. This involved
a surprising number of changes in other font-related files.
(doc/News.htm [1.23]: 2000/04/02 07:38:46 lpd)

Updates the documentation on preparing releases to reflect the addition of
the toolbin directory. (doc/Release.htm [1.7]: 2000/04/02 18:56:58 lpd)

Implements the AutoRotatePages distiller parameter. (doc/Ps2pdf.htm [1.5]:
2000/04/03 02:54:41 lpd)

Updates the problem reporting procedure to use SourceForge; separates the
description of the procedure from the reporting form.
(doc/Bug-form.htm [1.4], doc/Bug-info.htm [1.1], doc/New-user.htm [1.4],
doc/News.htm [1.24], doc/Readme.htm [1.4]: 2000/04/04 04:14:02 lpd)

Updates release dates and version numbers. (doc/Bug-form.htm [1.5],
doc/Bug-info.htm [1.3], doc/Htmstyle.htm [1.3], doc/Make.htm [1.9],
doc/New-user.htm [1.5], doc/Projects.htm [1.3], doc/Ps2pdf.htm [1.6],
doc/Psfiles.htm [1.3], doc/Readme.htm [1.5], man/ps2pdf.1 [1.4],
man/ps2ps.1 [1.4]: 2000/04/07 05:21:45 lpd)

Removes redundant material, and the www.aladdin.com distribution point, from
the release procedure documentation. (doc/Release.htm [1.8]: 2000/04/07
05:24:29 lpd)

</pre><h2><a name="6.20 Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- pdfread.dev incorrectly depended on dpsnext_. (int.mak [1.4]:
2000/03/19 02:00:09 lpd)
	- The referenced libpng version hadn't been updated to 1.0.5.
(openvms.mmk [1.3]: 2000/03/20 16:38:46 lpd)
	- The MSVC++ 6 compiler no longer recognizes the /FPi87 switch.
(msvccmd.mak [1.2]: 2000/03/31 05:06:53 lpd)
	- MSVC versions before 5, not before 6, recognize /FPi87.
(msvccmd.mak [1.3]: 2000/03/31 05:50:33 lpd)
	- Removes some occurrences of $,I,d,: that shouldn't be substituted.
(toolbin/pre [1.2]: 2000/04/07 05:20:35 lpd)

Increments the version number to 6.20, in anticipation of the next release.
(We do this at the beginning of the development for a release, not the end.)
(version.mak [1.6]: 2000/03/19 00:27:22 lpd)

Adds a pseudo-encoding for the CFF StandardStrings that represent
characters. (devs.mak [1.3], int.mak [1.3], unixinst.mak [1.5]: 2000/03/19
00:38:50 lpd)

Updates makefiles with dependencies for recent changes. (int.mak [1.5],
lib.mak [1.3]: 2000/03/19 05:37:38 lpd)

Adds dependencies for the new implementation of FunctionType 4 functions.
(int.mak [1.6]: 2000/03/19 07:03:53 lpd)

Splits off "vanilla" Functions into separate files, in anticipation of
removing them (they were only used to implement PostScript Calculator
Functions). (lib.mak [1.4]: 2000/03/19 07:33:08 lpd)

Update the date and change log for the latest batches of checked-in changes.
(version.mak [1.7]: 2000/03/19 17:29:57 lpd)

Moves font-writing support into a new module (gdevpsf*), changing the source
file names. Adds the ability to write CFF fonts, with either Type 1 or Type
2 CharStrings; unfortunately, Acrobat Reader appears not to accept CFF fonts
with Type 1 CharStrings. Adds the ability to convert Type 1 CharStrings to
Type 2, including optimizing sequences of Type 1 operators into a single
Type 2 operator. Implements writing CIDFontType 0 CFF fonts (CIDFonts) [NOT
TESTED]. Starts (just barely) to remove more unneeded information from
embedded TrueType fonts. (devs.mak [1.4], lib.mak [1.5]: 2000/03/20 07:02:12
lpd)

Updates dependencies to reflect today's batches of checked-in changes.
(devs.mak [1.5], int.mak [1.7], lib.mak [1.6]: 2000/03/20 07:16:35 lpd)

Updates the makefile for the renaming of gdevpsdf.c => gdevpsdu.c.
(devs.mak [1.6]: 2000/03/20 19:30:35 lpd)

Starts to move support for CIDFontType 0 and 2 into C code, needed by the
PDF writer for handling CID-keyed fonts. Implements GlyphDirectory for
CIDFonts. Makes GDBytes and CIDMapOffset optional for CIDFontType 0 fonts
that have a GlyphDirectory (not documented in the PLRM, but clearly
correct). Implements Adobe 3011 features: integer and dictionary CIDMaps,
and the MetricsCount entry, in CIDFontType 2 fonts (but only in the C code,
which isn't hooked in yet, not in the PostScript code in gs_cidfn.ps.)
(int.mak [1.8], lib.mak [1.7]: 2000/03/20 19:53:06 lpd)

Extends the C support for CIDFontType 0 fonts to include those with FontType
2 subfonts in the FDArray (an Adobe 3011 addition, specifically for CFF
fonts). (int.mak [1.9]: 2000/03/21 07:43:42 lpd)

Adds invocation scripts and documentation for the PDF "optimizer".
(unixinst.mak [1.6]: 2000/03/21 17:01:33 lpd)

Splits off the ReusableStreamDecode filter as a separate module, since
CIDFontType 0 fonts will use it even in LanguageLevels below 3.
(int.mak [1.10]: 2000/03/21 21:34:57 lpd)

Makes file streams remember the file name, needed for efficiently
implementing reusable streams. (int.mak [1.11]: 2000/03/23 02:13:40 lpd)

Checks in the latest consolidated change log. (version.mak [1.8]: 2000/03/24
05:04:55 lpd)

Changes the implementation of incrementally loaded CIDFontType 0 fonts to
use a ReusableStreamDecode filter, in anticipation of moving the BuildGlyph
procedure for these fonts from PostScript to C. (int.mak [1.12],
version.mak [1.9]: 2000/03/27 16:36:24 lpd)

Changes the default value of FPU_TYPE in all Windows and OS/2 makefiles from
0 to 387, since all current desktop CPUs include floating point hardware.
(msvc32.mak [1.3], msvclib.mak [1.3], os2.mak [1.4], watcw32.mak [1.3]:
2000/03/28 17:03:48 lpd)

Updates the change log with recent changes. (version.mak [1.10]: 2000/03/30
07:59:39 lpd)

Cleans up some dependencies missed at the last checkin. (devs.mak [1.7],
int.mak [1.13]: 2000/03/31 05:03:30 lpd)

Finishes implementing the ability to write CIDFontType 0 CFFs. This involved
a surprising number of changes in other font-related files. (int.mak [1.14]:
2000/04/02 07:38:46 lpd)

Adds a variety of tools used to build and distribute Ghostscript releases.
The only documentation is comments in the files themselves, and there isn't
much of it. All aspects of these tools are subject to change without notice.
(toolbin/3way.tcl [1.1], toolbin/cvs2hist.py [1.1],
toolbin/errlist.tcl [1.1], toolbin/gsmake.tcl [1.1],
toolbin/headers.tcl [1.1], toolbin/leaks.tcl [1.1],
toolbin/makeset.tcl [1.1], toolbin/package.tcl [1.1], toolbin/pre [1.1],
toolbin/pre.chk [1.1], toolbin/precheck.tcl [1.1], toolbin/smoke.ps [1.1],
toolbin/suite.tcl [1.1], toolbin/tmake.tcl [1.1]: 2000/04/02 18:44:27 lpd)

Moves gsindent from src to toolbin. (toolbin/gsindent [1.1]: 2000/04/02
18:56:25 lpd)

Adds an #include required by the Watcom compiler. (devs.mak [1.8]:
2000/04/05 19:51:54 lpd)

Adds a missing dependency. (lib.mak [1.8]: 2000/04/07 03:00:56 lpd)

Updates a few dependencies for the release. (int.mak [1.15]: 2000/04/07
05:23:12 lpd)

Updates the build date for the release. (version.mak [1.11]: 2000/04/07
05:25:18 lpd)

Adds .cvsignore files, to prevent bogus warnings on cvs update.
(.cvsignore [1.1], src/.cvsignore [1.1]: 2000/04/05 19:46:04 lpd)

</pre><h2><a name="6.20 Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- A couple of places in the Windows code didn't correctly handle
Ghostscript version 6.64, 7 April 2001
21:45:03 lpd)
	- Replaces a final exit() with a return, to avoid a compiler
warning. (genconf.c [1.2]: 2000/04/05 19:53:27 lpd)

Makes geninit remove whitespace adjacent to hex and base-85 string literals.
(geninit.c [1.2]: 2000/03/18 22:51:24 lpd)

Adds a PDF linearizer ("optimizer"). This is a separate utility (not
integrated with the pdfwrite driver), written in PostScript.
(lib/pdfopt.ps [1.1], lib/pdfwrite.ps [1.1]: 2000/03/20 04:31:22 lpd)

Replaces the O(N^2) sorting algorithm for printing unencoded characters with
a O(N log N) algorithm, which makes printing Unicode and Chinese/Japanese
fonts practical. (lib/prfont.ps [1.2]: 2000/03/21 06:39:49 lpd)

Adds invocation scripts and documentation for the PDF "optimizer".
(lib/pdfopt [1.1], lib/pdfopt.bat [1.1], lib/pdfopt.ps [1.2]: 2000/03/21
17:01:33 lpd)

Splits off the ReusableStreamDecode filter as a separate module, since
CIDFontType 0 fonts will use it even in LanguageLevels below 3.
(zfreuse.c [1.2]: 2000/03/21 21:34:57 lpd)

Adds a variety of tools used to build and distribute Ghostscript releases.
The only documentation is comments in the files themselves, and there isn't
much of it. All aspects of these tools are subject to change without notice.
(gsindent [1.2]: 2000/04/02 18:44:27 lpd)

</pre><h2><a name="6.20 Drivers"></a>Drivers</h2><pre>

Fixes problems:
	- The color_info member of the Windows and OS/2 printer devices (and
other devices using PC-style palettes) wasn't initialized properly, causing
improper behavior. (gdevos2p.c [1.2], gdevpccm.h [1.2], gdevwpr2.c [1.3]:
2000/03/20 21:05:11 lpd)
	- Fixes a bug in the mswinpr2 driver in the handling of
BitsPerPixel. (gdevwpr2.c [1.4]: 2000/03/22 17:08:33 lpd)
	- In PCL XL output (pxl* drivers), if a PostScript image didn't
provide enough source data, the remainder of the output image was
erroneously filled with pixel value 0 (typically black or the foreground
color). (gdevpx.c [1.2]: 2000/03/22 20:55:21 lpd)
	- In the output of the pswrite driver (pdf2ps, ps2ps), the showpage
for each page occurred before, not after, the restore that ended the page
contents. This contradicted Adobe's documentation, and made utilities like
N-up printing not work properly. (gdevps.c [1.4]: 2000/03/28 00:52:46 lpd)
	- The PCL XL 2.0 value for sRGB color space was wrong, and the
attribute for writing mode was missing. (gdevpxat.h [1.2], gdevpxen.h [1.2]:
2000/03/29 18:19:44 lpd)
	- When printing on monochrome LaserJet/DeskJet printers, the driver
didn't set the number of copies to 1; on the LJ 4si, this sometimes caused
double printing. (gdevdjet.c [1.2]: 2000/04/03 14:36:12 lpd)
	- Updates clients for the change in the last argument of
cff_string_index from uint * to int *. (gdevpsf2.c [1.4]: 2000/04/05
19:55:29 lpd)

Adds parsing for the remaining Acrobat Distiller 4 parameters. Implements
the LockDistillerParams, xxxDownsampleThreshold, xxxImageDict, and
xxxACSImageDict distiller parameters. Implements DCTEncode as an
xxxImageFilter option (it used to cause a crash). Makes the
AutoFilterxxxImages distiller parameters select JPEG encoding (with ACSDict)
if the image has 8 bits per component and is not Indexed, and LZW/Flate
otherwise: this still isn't right, but it's closer. Implementation changes:
Changes the implementation of distiller parameter dictionaries from stream
states to parameter lists; changes the test for masks in
psdf_setup_image_filters, and changes the image argument from gs_image_t to
gs_pixel_image_t. (gdevpsdf.h [1.4], gdevpsdi.c [1.3], gdevpsdp.c [1.3]:
2000/03/20 05:40:04 lpd)

Moves font-writing support into a new module (gdevpsf*), changing the source
file names. Adds the ability to write CFF fonts, with either Type 1 or Type
2 CharStrings; unfortunately, Acrobat Reader appears not to accept CFF fonts
with Type 1 CharStrings. Adds the ability to convert Type 1 CharStrings to
Type 2, including optimizing sequences of Type 1 operators into a single
Type 2 operator. Implements writing CIDFontType 0 CFF fonts (CIDFonts) [NOT
TESTED]. Starts (just barely) to remove more unneeded information from
embedded TrueType fonts. (gdevpsd1.c [1.2], gdevpsdf.c [1.3],
gdevpsdf.h [1.5], gdevpsdt.c [1.2], gdevpsf.h [1.1], gdevpsf1.c [1.1],
gdevpsf2.c [1.1], gdevpsft.c [1.1], gdevpsfu.c [1.1], gdevpsfx.c [1.1]:
2000/03/20 07:02:12 lpd)

Renames an inappropriately named file. (gdevpsdf.c [1.4], gdevpsdf.h [1.6],
gdevpsdu.c [1.1]: 2000/03/20 19:03:43 lpd)

Extends the C support for CIDFontType 0 fonts to include those with FontType
2 subfonts in the FDArray (an Adobe 3011 addition, specifically for CFF
fonts). (gdevpsf.h [1.2]: 2000/03/21 07:43:42 lpd)

Changes the procs structure of gs_type1_data to an in-line structure rather
than a pointer to a const structure. (Needed for moving CIDFontType 0
support into C.) (gdevpsf1.c [1.2], gdevpsf2.c [1.2], gdevpsfx.c [1.2]:
2000/03/29 22:10:31 lpd)

Finishes implementing the ability to write CIDFontType 0 CFFs. This involved
a surprising number of changes in other font-related files.
(gdevpsf2.c [1.3], gdevpsfu.c [1.2]: 2000/04/02 07:38:45 lpd)

Slightly simplifies the output of the psmono and psgray drivers.
(gdevpsim.c [1.2]: 2000/04/02 19:57:37 lpd)

Adds an #include required by the Watcom compiler. (gdevpsf1.c [1.3]:
2000/04/05 19:51:54 lpd)

</pre><h2><a name="6.20 PDF writer"></a>PDF writer</h2><pre>

Fixes problems:
	- The pointer enumeration procedure for pdf_image_enum was wrong,
possibly producing a mangled pointer and a memory access error if a garbage
collection occured while writing an image in a PDF file. (gdevpdfi.c [1.5]:
2000/03/20 05:54:13 lpd)
	- The computation for testing whether a tiled pattern could be
represented in line, and whether it exceeded Acrobat Reader's size limit,
was wrong, causing some patterns not to be represented as Patterns.
(gdevpdfi.c [1.6]: 2000/03/20 05:58:15 lpd)
	- When ProcessColorModel=/DeviceCMYK, if the first object on a page
or after changing the clipping path was white, the PDF writer would write it
as black. (gdevpdfu.c [1.3]: 2000/03/21 18:36:36 lpd)
	- If a page ended with an incomplete outline tree, an invalid memory
access occurred. (gdevpdf.c [1.3], gdevpdfm.c [1.2]: 2000/03/24 05:09:56
lpd)
	- The SP pdfmark didn't check that its argument was a graphics
stream. (gdevpdfm.c [1.4]: 2000/03/24 06:18:39 lpd)
	- The name of the EndPage Distiller parameter collided with the
EndPage page device parameter. (gdevpdfp.c [1.4]: 2000/03/28 07:45:25 lpd)
	- If two embedded fonts had the same base font, the PDF file could
wind up with an invalid entry in the xref table. (gdevpdft.c [1.4]:
2000/04/01 01:18:32 lpd)

Adds parsing for the remaining Acrobat Distiller 4 parameters. Implements
the LockDistillerParams, xxxDownsampleThreshold, xxxImageDict, and
xxxACSImageDict distiller parameters. Implements DCTEncode as an
xxxImageFilter option (it used to cause a crash). Makes the
AutoFilterxxxImages distiller parameters select JPEG encoding (with ACSDict)
if the image has 8 bits per component and is not Indexed, and LZW/Flate
otherwise: this still isn't right, but it's closer. Implementation changes:
Changes the implementation of distiller parameter dictionaries from stream
states to parameter lists; changes the test for masks in
psdf_setup_image_filters, and changes the image argument from gs_image_t to
gs_pixel_image_t. (gdevpdfi.c [1.4]: 2000/03/20 05:40:04 lpd)

Moves font-writing support into a new module (gdevpsf*), changing the source
file names. Adds the ability to write CFF fonts, with either Type 1 or Type
2 CharStrings; unfortunately, Acrobat Reader appears not to accept CFF fonts
with Type 1 CharStrings. Adds the ability to convert Type 1 CharStrings to
Type 2, including optimizing sequences of Type 1 operators into a single
Type 2 operator. Implements writing CIDFontType 0 CFF fonts (CIDFonts) [NOT
TESTED]. Starts (just barely) to remove more unneeded information from
embedded TrueType fonts. (gdevpdff.c [1.2], gdevpdfw.c [1.2]: 2000/03/20
07:02:12 lpd)

Substantially enhances the Cos object machinery. Interface: Adds a few more
procedures, including a procedure to create a stream that writes directly
into a Cos stream object, procedures for putting more kinds of values into
arrays and dictionaries, and a param_list interface. Changes Cos objects to
store a reference to the PDF device, and removes the device argument from
all Cos procedures other than object creation. Replaces the Boolean
is_object member of Cos values by a value_type enum: clients must now use
COS_VALUE_IS_OBJECT() to test whether a value is an object reference. To
reduce allocator overhead, makes the Cos procedures that take C strings no
longer copy the string. Records whether each Cos object has been written
into the output, so that in the future (but not in this batch of changes)
resource definitions can be copied at the end of each page. Implementation:
Moves more of the implementation of Cos objects to the .c file.
(gdevpdf.c [1.4], gdevpdfi.c [1.7], gdevpdfm.c [1.3], gdevpdfo.c [1.2],
gdevpdfo.h [1.2], gdevpdfr.c [1.2], gdevpdfu.c [1.4], gdevpdfx.h [1.3]:
2000/03/24 06:12:52 lpd)

Changes a few initializations to suppress warnings from one picky compiler
that doesn't like ptr = buf - 1 where buf is an array. (gdevpdfr.c [1.3]:
2000/03/28 02:01:34 lpd)

Adds parsing for the remaining Acrobat Distiller 4 parameters, although most
of them don't have any effect yet; brings documentation up to date.
(gdevpdf.c [1.5], gdevpdfp.c [1.3], gdevpdfx.h [1.4]: 2000/03/28 07:36:58
lpd)

Implements LockDistillerParams; completes the StartPage/EndPage fix checked
in just before. (gdevpdf.c [1.6], gdevpdfp.c [1.5], gdevpdfx.h [1.5]:
2000/03/28 07:52:06 lpd)

Changes the initial values of the "job control" parameters to match Acrobat
Distiller 4. (gdevpdf.c [1.7], gdevpdfp.c [1.6], gdevpdfx.h [1.6]:
2000/03/28 07:57:14 lpd)

Implements the AutoRotatePages distiller parameter. (gdevpdf.c [1.8],
gdevpdft.c [1.5], gdevpdfu.c [1.5], gdevpdfx.h [1.7]: 2000/04/03 02:54:41
lpd)

</pre><h2><a name="6.20 Interpreter (PDF)"></a>Interpreter (PDF)</h2><pre>

Fixes problems:
	- Reading embedded compressed CIDFonts wasn't implemented.
(lib/pdf_font.ps [1.3]: 2000/03/19 01:28:59 lpd)
	- PDF images with DeviceN color spaces caused an error.
(lib/pdf_draw.ps [1.2]: 2000/03/19 01:44:53 lpd)
	- PDF images with a Mask ignored the mask. (lib/pdf_draw.ps [1.3]:
2000/03/19 01:46:27 lpd)
	- the PDF interpreter hadn't been updated for the move to
library-based FunctionType 4 Functions, and still tried to bind the names
true and false to the no longer existing operators .true and .false.
(lib/pdf_draw.ps [1.5]: 2000/03/19 07:37:03 lpd)
	- FunctionType 2 and 3 functions didn't work.
(lib/pdf_draw.ps [1.6]: 2000/03/19 15:23:10 lpd)
	- In PDF files, the page CropBox was not being used to clip the
output. (lib/pdf_main.ps [1.4], lib/pdf_ops.ps [1.3]: 2000/03/21 23:08:32
lpd)
	- The "fix" for FunctionTypes 2 and 3 in PDF files had made things
worse, because the code didn't distinguish between resolving to a PostScript
function (for shadings) and resolving to a PostScript procedure (for
halftones, BG/UCR, alternate color space mapping, etc.)
(lib/pdf_draw.ps [1.7]: 2000/03/23 18:31:46 lpd)
	- Text with a Pattern color scaled the pattern according to the text
matrix, not the default matrix of the marking context.
(lib/pdf_base.ps [1.6], lib/pdf_main.ps [1.5], lib/pdf_ops.ps [1.4]:
2000/03/30 18:01:58 lpd)
	- Resolving a Shading didn't create a reusable stream for the
shading data; since the data was then read at unpredictable times, the
shading or other constructs in the PDF file could read incorrect data.
(lib/pdf_draw.ps [1.8]: 2000/04/03 06:01:25 lpd)

Adds a lforall procedure for the PDF linearizer. (lib/pdf_base.ps [1.3]:
2000/03/19 01:50:05 lpd)

Changes the PDF interpreter so that following an object reference doesn't
store the result back into the referring slot, and so that # # R always
creates an indirect object. This is necessary for the PDF linearizer. It
shouldn't have any visible effect (other than a possible small performance
cost). (lib/pdf_base.ps [1.4], lib/pdf_draw.ps [1.4]: 2000/03/19 01:53:58
lpd)

Refactors some code to make it usable by the PDF linearizer.
(lib/pdf_main.ps [1.3]: 2000/03/19 17:26:42 lpd)

Speeds up loading embedded Type 1 fonts a little. (lib/pdf_base.ps [1.5],
lib/pdf_font.ps [1.4]: 2000/03/24 07:42:16 lpd)

Speeds up reading embedded Type 1 fonts a little more.
(lib/pdf_font.ps [1.5]: 2000/03/24 16:28:26 lpd)

</pre><h2><a name="6.20 Interpreter"></a>Interpreter</h2><pre>

Fixes problems:
	- Font substitution was broken. (lib/gs_fonts.ps [1.3]: 2000/03/19
00:22:05 lpd)
	- The CFF reader gave an error if a font included any Subrs (it's
very surprising that this hasn't surfaced before, but apparently Acrobat
Distiller always produces CFF fonts with no Subrs); the CFF reader didn't
default lenIV to -1 for Type 1 CharStrings; the CFF reader wasn't able to
read CIDFonts. (lib/gs_cff.ps [1.3], lib/gs_cidfn.ps [1.4]: 2000/03/19
00:45:40 lpd)
	- EXTEND_NAMES had stopped working, because not all places that
needed the index of a name ref used name_index rather than r_size
(ilocate.c), and because the high_index value in the name sub-table was set
incorrectly (iname.c). (ilocate.c [1.2], iname.c [1.2]: 2000/03/19 01:33:23
lpd)
	- The attribute check for Functions being executed was incorrect
(always succeeded). (zfunc.c [1.2]: 2000/03/19 02:12:37 lpd)
	- s_add_filter didn't ensure enough buffering. This entailed moving
the NullEncode/Decode filters to stream.[hc]. (sfilter1.c [1.2]: 2000/03/19
03:15:02 lpd)
	- The parameters of SubFileDecode filters weren't initialized fully
(required by a change in this version). (zfilter.c [1.3]: 2000/03/19
04:03:45 lpd)
	- The AutoPositionEPSFiles Distiller parameter was misspelled
AutoPositionEPSFile. (lib/gs_pdfwr.ps [1.2]: 2000/03/19 05:03:31 lpd)
	- Enumerating the elements of a dictionary-based parameter list
returned garbage for the keys. (iparam.c [1.2]: 2000/03/19 15:13:13 lpd)
	- .buildfont0 should not check CIDSystemInfo compatibility. The
PLRM3 says PostScript interpreters do not make this check, even though the
PLRM2 says compatibility is required (!). (zfcmap.c [1.2]: 2000/03/19
16:53:50 lpd)
	- If log2_transfer_map_size > 8, identity transfer functions
returned garbage. The fix requires that if a client wants to set a transfer
function to the identity mapping, it must call gx_set_identity_transfer
rather than simply setting the procedure to gs_identity_transfer.
(zcolor.c [1.2]: 2000/03/19 17:14:47 lpd)
	- Separation color spaces didn't store the separation name.
(zcssepr.c [1.2]: 2000/03/19 17:21:36 lpd)
	- The addition of the dummy cid_Setup procedure in gs 6.01 was
accidentally commented out. (lib/gs_cidfn.ps [1.5]: 2000/03/21 00:11:55 lpd)
	- The test for whether an CIDFontType 2 outline string was large
enough to include prefixed metrics was backwards, which would have caused
problems with any font that used MetricsCount. (zfcid.c [1.3]: 2000/03/21
00:43:17 lpd)
	- A couple of places in the Windows code didn't correctly handle
Ghostscript version numbers of the form #.0#. (dwsetup.cpp [1.2]: 2000/03/22
21:45:03 lpd)
	- In some cases, re-registering an existing font or CIDFont with
definefont would cause an invalidfont error. (zbfont.c [1.4],
zfont42.c [1.3]: 2000/03/28 18:20:39 lpd)
	- Re-registering a CIDFont with definefont, or defining a CIDFont
with definefont instead of /CIDFont defineresource, caused an invalidfont
error or a crash. (lib/gs_cidfn.ps [1.9], lib/gs_fonts.ps [1.4]: 2000/03/28
18:21:50 lpd)
	- The new C BuildGlyph code for CIDFontType 0 fonts didn't handle
GlyphDirectory or Type 2 CharStrings correctly. (lib/gs_cidfn.ps [1.12],
zfcid.c [1.8]: 2000/03/31 23:21:57 lpd)
	- The internaldict "operator" was allocated in local VM, preventing
it from being bound into procedures allocated in global VM.
(lib/gs_init.ps [1.6]: 2000/04/04 22:16:02 lpd)
	- If there was a CIDInit ProcSet defined in the filesystem, the code
for initializing the built-in CIDInit ProcSet became confused.
(lib/gs_cidfn.ps [1.13]: 2000/04/04 22:17:33 lpd)
	- Fixes several problems in resourceforall and resource loading: the
operands of resourceforall were restored even in the case of an error in the
client's procedure; the name Instances had special meaning for some Adobe
code; resourceforall caused an invalidaccess error if an operand was in
local VM but the current VM was global; loading a resource from a file could
cause a typecheck error if the file left values on the operand stack.
(interp.c [1.3], lib/gs_ccfnt.ps [1.2], lib/gs_res.ps [1.3]: 2000/04/04
22:26:02 lpd)
	- resourceforall didn't enumerate external (loadable) instances, and
would enumerate an instance twice if it had both a local and a global
definition. (lib/gs_res.ps [1.4]: 2000/04/05 21:07:02 lpd)
	- The implementation of resourcestatus wasn't compatible with some
badly written code in an Adobe font downloader that assumes that the
implementation of resourcestatus in Generic and Font is the same.
(lib/gs_res.ps [1.5]: 2000/04/05 21:20:07 lpd)
	- The just-checked-in fixed for resourceforall didn't work properly
for the IdiomSet category. (They probably failed for other categories that
had no instances, but we didn't check this.) (lib/gs_res.ps [1.6]:
2000/04/05 21:51:43 lpd)
	- Some Adobe font downloading code assumed that loading a resource
file would never leave extra values on the stack; our implementation didn't
ensure this (by popping them if needed). (lib/gs_res.ps [1.8]: 2000/04/06
04:50:28 lpd)
	- If an alphabetic font defined and used a .notdef character,
pdfwrite always converted it to a bitmap. (lib/gs_lgo_e.ps [1.2]: 2000/04/07
02:48:23 lpd)

Provides a gs_atan2_degrees procedure to parallel sin and cos.
(zmath.c [1.2]: 2000/03/18 23:10:39 lpd)

Speeds up string garbage collection by scanning unmodified string regions
faster. (igcstr.c [1.2]: 2000/03/18 23:29:32 lpd)

Adds the ImagemaskTrapping parameter to the trapping state.
(lib/gs_trap.ps [1.2]: 2000/03/18 23:35:53 lpd)

Increments the version number to 6.20, in anticipation of the next release.
(We do this at the beginning of the development for a release, not the end.)
(lib/gs_init.ps [1.4]: 2000/03/19 00:27:22 lpd)

Adds a pseudo-encoding for the CFF StandardStrings that represent
characters. (lib/gs_cff.ps [1.2], lib/gs_css_e.ps [1.1]: 2000/03/19 00:38:50
lpd)

Refactors the code for getting Type 1/2/4 font parameters so it can be used
for FDArray entries of CIDFontType 0 fonts. (ifont1.h [1.2], zfont1.c [1.2]:
2000/03/19 02:07:45 lpd)

Speeds up Function evaluation slightly, by preallocating space for a
reasonable number of operands and results on the C stack rather than always
allocating it on the heap. (zfunc.c [1.3]: 2000/03/19 02:16:58 lpd)

Adds a public procedure for determining whether a PostScript object is a
Function, and if so, returning the pointer to the gs_function_t structure.
(ifunc.h [1.2], zfunc.c [1.4]: 2000/03/19 02:22:01 lpd)

Splits out the [T]BCP filter interface into a separate file. (zfbcp.c [1.2]:
2000/03/19 02:40:18 lpd)

Adds a skip_count parameter to the SubFileDecode filter, giving the number
of initial bytes or records to skip over. (Needed for printing FunctionType
4 functions, possibly useful for other things.) (sfilter1.c [1.3]:
2000/03/19 03:20:18 lpd)

Replaces the implementation of FunctionType 4 functions at the PostScript
language level with one that uses the new library-based facilities.
(zdevice2.c [1.2], zfunc4.c [1.2]: 2000/03/19 06:56:23 lpd)

Changes the key type returned by parameter list enumeration to include a
persistence flag, makes C parameter lists support non-persistent keys, and
upgrades GC descriptors so that parameter lists can be used non-transiently;
updates implementors of parameter lists to call gs_param_list_init to
initialize the common members, which is now required. (iparam.c [1.3]:
2000/03/19 15:16:11 lpd)

Makes Separation and DeviceN color spaces convert their tint transform
function to a FunctionType 4 Function if possible, for better accuracy and
to allow writing in PDF files. (lib/gs_lev2.ps [1.2], lib/gs_ll3.ps [1.2]:
2000/03/19 15:28:34 lpd)

Makes st_indexed_map private. Clients must now use the constructor procedure
alloc_indexed_map rather than allocating instances directly.
(zcsindex.c [1.2]: 2000/03/19 16:37:28 lpd)

Refactors the code for building fonts so it can be used for FDArray entries
of CIDFontType 0 fonts. (bfont.h [1.2], zbfont.c [1.2]: 2000/03/19 16:45:47
lpd)

Adds a .fileposition operator that will read the position even of
non-positionable streams, needed for the PDF linearizer. (zfileio.c [1.3]:
2000/03/20 04:30:49 lpd)

Starts to move support for CIDFontType 0 and 2 into C code, needed by the
PDF writer for handling CID-keyed fonts. Implements GlyphDirectory for
CIDFonts. Makes GDBytes and CIDMapOffset optional for CIDFontType 0 fonts
that have a GlyphDirectory (not documented in the PLRM, but clearly
correct). Implements Adobe 3011 features: integer and dictionary CIDMaps,
and the MetricsCount entry, in CIDFontType 2 fonts (but only in the C code,
which isn't hooked in yet, not in the PostScript code in gs_cidfn.ps.)
(icid.h [1.1], ifont.h [1.2], ifont42.h [1.1], zcid.c [1.2], zfcid.c [1.1],
zfcmap.c [1.3], zfont42.c [1.2]: 2000/03/20 19:53:06 lpd)

Hooks the new CIDMap code into the BuildGlyph procedure for CIDFontType 2
fonts. (Contrary to a previous log comment, MetricsCount is already hooked
in.) Support for CIDFontType 2 fonts is now implemented entirely in C, as
for Type 42 fonts. (lib/gs_cidfn.ps [1.6], zfcid.c [1.2]: 2000/03/21
00:32:15 lpd)

Extends the C support for CIDFontType 0 fonts to include those with FontType
2 subfonts in the FDArray (an Adobe 3011 addition, specifically for CFF
fonts). (ifont2.h [1.1], zfcid.c [1.4], zfont2.c [1.2]: 2000/03/21 07:43:42
lpd)

Changes Subr loading for CIDFontType 0 fonts from lazy to immediate, so that
C code can be guaranteed access to the Subrs. (In every CIDFontType 0 font
that we have seen, SubrCount is 5, so this has no significant time or space
cost.) Also adds support for FDBytes > 1 in GlyphDirectory definitions.
(lib/gs_cidfn.ps [1.7]: 2000/03/21 20:06:44 lpd)

Splits off the ReusableStreamDecode filter as a separate module, since
CIDFontType 0 fonts will use it even in LanguageLevels below 3.
(lib/gs_frsd.ps [1.1], lib/gs_ll3.ps [1.3], zfrsd.c [1.1]: 2000/03/21
21:34:57 lpd)

Makes file streams remember the file name, needed for efficiently
implementing reusable streams. (zfile.c [1.3], zfileio.c [1.4]: 2000/03/23
02:13:40 lpd)

Changes the new .filename operator to return true/false rather than causing
an error; redefines findlibfile in terms of a simpler .libfile operator +
.filename. (lib/gs_init.ps [1.5], zfile.c [1.4], zfileio.c [1.5]: 2000/03/23
18:47:17 lpd)

Finishes implementing the file case of ReusableStreamDecode. This required
adding the ability to restrict file-reading streams to a subfile.
(lib/gs_frsd.ps [1.2], sfilter1.c [1.4], zfileio.c [1.6], zfrsd.c [1.2]:
2000/03/24 03:59:42 lpd)

Changes the implementation of incrementally loaded CIDFontType 0 fonts to
use a ReusableStreamDecode filter, in anticipation of moving the BuildGlyph
procedure for these fonts from PostScript to C. (lib/gs_cidfn.ps [1.8],
zbfont.c [1.3], zfcid.c [1.5]: 2000/03/27 16:36:24 lpd)

Changes the get_outline / glyph_data procedure for getting encoded font
outline data to return an indication of whether the outline data were just
allocated and can be freed by the client. (This is a possibly
non-backward-compatible change.) (zfcid.c [1.6]: 2000/03/28 18:47:02 lpd)

Changes the procs structure of gs_type1_data to an in-line structure rather
than a pointer to a const structure. (Needed for moving CIDFontType 0
support into C.) (zfont1.c [1.3]: 2000/03/29 22:10:31 lpd)

Finishes moving support for CIDFontType 0 fonts from PostScript to C.
(ifont.h [1.3], ifont42.h [1.2], lib/gs_cidfn.ps [1.10], zfcid.c [1.7],
zfont42.c [1.4]: 2000/03/31 04:55:18 lpd)

Allows dictionaries as the value of CIDMap resources. (Also removes an
unrelated obsolete comment.) (lib/gs_cidfn.ps [1.11]: 2000/03/31 05:11:30
lpd)

Finishes implementing the ability to write CIDFontType 0 CFFs. This involved
a surprising number of changes in other font-related files. (ichar1.h [1.2],
ifcid.h [1.1], zchar1.c [1.2], zfcid.c [1.9], zfcid0.c [1.1],
zfcid1.c [1.1], zfont1.c [1.4]: 2000/04/02 07:38:46 lpd)

Makes the .writefont9 operator (used only for testing) available in both
DEBUG and PROFILE configurations. (zfcid0.c [1.2]: 2000/04/03 02:37:55 lpd)

Extends .forceput to handle arrays as well as dictionaries, required to fix
a bug with internaldict. (zdict.c [1.2], zgeneric.c [1.2]: 2000/04/04
22:13:23 lpd)

Works around an Adobe code assumption that the default FindResource
procedure does *not* call the ResourceStatus procedure if the requested
instance is already defined in VM. (lib/gs_res.ps [1.7]: 2000/04/05 23:31:54
lpd)

Implements the framework for superexec (but none of the actual access check
bypasses). (icontext.c [1.2], icstate.h [1.2], zcontrol.c [1.2]: 2000/04/06
04:40:06 lpd)

Extends the undocumented CCRun procedure to take an additional argument, a
Private dictionary, required by some Adobe font downloading code.
(lib/gs_type1.ps [1.3]: 2000/04/06 05:25:10 lpd)

</pre><h2><a name="6.20 Streams"></a>Streams</h2><pre>

Fixes problems:
	- s_add_filter didn't ensure enough buffering. This entailed moving
the NullEncode/Decode filters to stream.[hc]. (sfilter.h [1.3],
stream.c [1.3], stream.h [1.3]: 2000/03/19 03:15:02 lpd)
	- When FPU_TYPE <= 0, the image interpolation code lost too much
accuracy, producing color streaks in the output. (Fix by DanCoby.)
(siscale.c [1.2]: 2000/03/29 20:34:45 lpd)
	- Fixes a couple of typos in the recently checked-in image
interpolation fix. (siscale.c [1.3]: 2000/03/30 06:55:26 lpd)

Splits out the [T]BCP filter interface into a separate file. (sbcp.c [1.2],
sbcp.h [1.1], sfilter.h [1.2]: 2000/03/19 02:40:18 lpd)

Adds a skip_count parameter to the SubFileDecode filter, giving the number
of initial bytes or records to skip over. (Needed for printing FunctionType
4 functions, possibly useful for other things.) (sfilter.h [1.4]: 2000/03/19
03:20:18 lpd)

Changes the key type returned by parameter list enumeration to include a
persistence flag, makes C parameter lists support non-persistent keys, and
upgrades GC descriptors so that parameter lists can be used non-transiently;
updates implementors of parameter lists to call gs_param_list_init to
initialize the common members, which is now required. (spsdf.c [1.2]:
2000/03/19 15:16:11 lpd)

Makes file streams remember the file name, needed for efficiently
implementing reusable streams. (stream.c [1.4], stream.h [1.4]: 2000/03/23
02:13:40 lpd)

Finishes implementing the file case of ReusableStreamDecode. This required
adding the ability to restrict file-reading streams to a subfile.
(sfxfd.c [1.2], sfxstdio.c [1.2], stream.c [1.5], stream.h [1.5]: 2000/03/24
03:59:42 lpd)

Changes a few initializations to suppress warnings from one picky compiler
that doesn't like ptr = buf - 1 where buf is an array. (spsdf.c [1.3]:
2000/03/28 02:01:34 lpd)

</pre><h2><a name="6.20 Library"></a>Library</h2><pre>

Fixes problems:
	- Two comments in the file were incorrect. (gsiparm3.h [1.2]:
2000/03/19 02:46:11 lpd)
	- param_coerce_typed, which works with any parameter list
implementation, was incorrectly described as associated with the default
implementation. (gsparam.h [1.2]: 2000/03/19 03:37:08 lpd)
	- TrueType fonts didn't use vhea/vmtx if WMode = 1. Also makes
gs_font_type42 subclassable, for implementing CIDFontType 2 fonts, and makes
its procedure for getting a glyph's side bearing and width virtual, required
to support MetricsCount in CIDFontType 2 fonts. (gstype42.c [1.3],
gxfont42.h [1.2]: 2000/03/19 03:58:51 lpd)
	- ImageType 4 images didn't give an error for out-of-range MaskColor
values. The file also had an unnecessary #include. (gximage4.c [1.2]:
2000/03/19 04:10:09 lpd)
	- If log2_transfer_map_size > 8, identity transfer functions
returned garbage. The fix requires that if a client wants to set a transfer
function to the identity mapping, it must call gx_set_identity_transfer
rather than simply setting the procedure to gs_identity_transfer.
(gxclrast.c [1.3], gxcmap.c [1.2], gxfmap.h [1.2]: 2000/03/19 17:14:47 lpd)
	- Fixes a warning about aliasing produced by one extremely picky
compiler. (gsnogc.c [1.2]: 2000/03/22 21:39:32 lpd)
	- Filling or clipping with ridiculously large (out-of-bounds)
coordinates could cause an internal overflow that produced incorrect
results. (This is probably not the last such bug.) (gxfill.c [1.2]:
2000/03/30 07:03:59 lpd)

Provides a gs_atan2_degrees procedure to parallel sin and cos.
(gsmisc.c [1.2], gxfarith.h [1.2]: 2000/03/18 23:10:39 lpd)

Improves the 8x8 bitmap "flipping" procedure to take advantage of 32-bit
ints. (gsutil.c [1.2]: 2000/03/18 23:16:16 lpd)

Adds a public procedure for restricting a color to its legal range.
(gscspace.c [1.2], gscspace.h [1.2], gxcspace.h [1.2]: 2000/03/18 23:19:17
lpd)

Adds the new ImagemaskTrapping parameter to the trapping state.
(gstrap.c [1.2], gstrap.h [1.2]: 2000/03/18 23:26:17 lpd)

Increments the version number to 6.20, in anticipation of the next release.
(We do this at the beginning of the development for a release, not the end.)
(gscdef.c [1.2]: 2000/03/19 00:27:22 lpd)

Adds a pseudo-encoding for the CFF StandardStrings that represent
characters. (gsccode.h [1.2]: 2000/03/19 00:38:50 lpd)

Adds a bit_index procedure to the implementation of device halftones,
required for writing halftones in PDF files. (The only implementors are
internal ones.) (gxdht.h [1.2], gxhtbit.c [1.2]: 2000/03/19 05:10:55 lpd)

Adds a public procedure for getting a palette entry of an Indexed color
space, used when writing Indexed color spaces in PDF files.
(gscindex.h [1.1], gscolor2.c [1.2], gscolor2.h [1.2]: 2000/03/19 05:20:28
lpd)

Reimplements "PostScript calculator" (FunctionType 4) functions entirely in
C, to allow them to be written out in PDF files. (gsfunc4.c [1.1],
gsfunc4.h [1.1], gsstruct.h [1.2]: 2000/03/19 05:25:53 lpd)

Moves gx_device_color_equal to the public API, for detecting redundant color
setting when writing PDF files. (gsdcolor.h [1.2], gxdcolor.c [1.2],
gxdcolor.h [1.2]: 2000/03/19 06:46:08 lpd)

Changes the default value of BufferSpace to 4 Mb. In desktop applications,
this is a reasonable value that can substantially improve performance
(especially for color printers); embedded applications will want to set
BufferSpace themselves in any case. (gdevprn.h [1.2]: 2000/03/19 06:51:13
lpd)

Adds virtual procedures for Functions to write their parameters to a
parameter list, and to access their data source and subfunctions. This is
needed for writing Functions in PDF files. This change is also a
prerequisite for the C implemention of FunctionType 4 functions, even though
it appears later in the change log. (gsdsrc.h [1.2], gsfunc.c [1.2],
gsfunc.h [1.2], gsfunc0.c [1.2], gsfunc3.c [1.2], gsparam.c [1.2],
gsparam.h [1.3], gxfunc.h [1.2]: 2000/03/19 07:24:53 lpd)

Splits off "vanilla" Functions into separate files, in anticipation of
removing them (they were only used to implement PostScript Calculator
Functions). (gsfunc.c [1.3], gsfunc.h [1.3], gsfuncv.c [1.1],
gsfuncv.h [1.1]: 2000/03/19 07:33:08 lpd)

Adds a procedure for allocating a C parameter list. (gscparam.c [1.2],
gsparam.h [1.4]: 2000/03/19 15:00:05 lpd)

Undoes a premature change that depends on an update not yet checked in.
(gscparam.c [1.3]: 2000/03/19 15:07:59 lpd)

Changes the key type returned by parameter list enumeration to include a
persistence flag, makes C parameter lists support non-persistent keys, and
upgrades GC descriptors so that parameter lists can be used non-transiently;
updates implementors of parameter lists to call gs_param_list_init to
initialize the common members, which is now required. (gscparam.c [1.4],
gsparam.c [1.3], gsparam.h [1.5]: 2000/03/19 15:16:11 lpd)

Adds a procedure for copying one parameter list to another.
(gsparamx.c [1.2], gsparamx.h [1.2]: 2000/03/19 15:35:31 lpd)

Records the CTM used for sampling HalftoneType 1 spot functions. This is
needed for recognizing the standard spot functions when producing PDF
output. Also factors the code for initializing spot functions for the
benefit of the PDF writer. (gshtscr.c [1.2], gxdht.h [1.3], gzht.h [1.2]:
2000/03/19 15:43:36 lpd)

Adds a proc_data member to the map for Separation and Indexed color spaces.
(gscolor2.c [1.3], gxcolor2.h [1.2]: 2000/03/19 16:23:46 lpd)

Makes st_indexed_map private. Clients must now use the constructor procedure
alloc_indexed_map rather than allocating instances directly.
(gscolor2.c [1.4], gscsepr.c [1.2], gxclrast.c [1.2], gxcolor2.h [1.3]:
2000/03/19 16:37:28 lpd)

Adds procedures for building and accessing DeviceN color spaces.
(gscdevn.c [1.2], gscdevn.h [1.1]: 2000/03/19 17:02:37 lpd)

Exports the 'blend' operators of the Type 1 interpreter, for use by the Type
1 / Type 2 font writer. (gstype1.c [1.3], gxtype1.c [1.2], gxtype1.h [1.3]:
2000/03/19 18:46:44 lpd)

Starts to move support for CIDFontType 0 and 2 fonts into C code. (These
header files are the ones needed to compile the new gdevpsf* files; they
don't interact with any existing code.) (gxcid.h [1.1], gxfcid.h [1.1]:
2000/03/20 06:40:22 lpd)

Moves font-writing support into a new module (gdevpsf*), changing the source
file names. Adds the ability to write CFF fonts, with either Type 1 or Type
2 CharStrings; unfortunately, Acrobat Reader appears not to accept CFF fonts
with Type 1 CharStrings. Adds the ability to convert Type 1 CharStrings to
Type 2, including optimizing sequences of Type 1 operators into a single
Type 2 operator. Implements writing CIDFontType 0 CFF fonts (CIDFonts) [NOT
TESTED]. Starts (just barely) to remove more unneeded information from
embedded TrueType fonts. (gxttf.h [1.1]: 2000/03/20 07:02:12 lpd)

Starts to move support for CIDFontType 0 and 2 into C code, needed by the
PDF writer for handling CID-keyed fonts. Implements GlyphDirectory for
CIDFonts. Makes GDBytes and CIDMapOffset optional for CIDFontType 0 fonts
that have a GlyphDirectory (not documented in the PLRM, but clearly
correct). Implements Adobe 3011 features: integer and dictionary CIDMaps,
and the MetricsCount entry, in CIDFontType 2 fonts (but only in the C code,
which isn't hooked in yet, not in the PostScript code in gs_cidfn.ps.)
(gsfcid.c [1.1], gsfcmap.c [1.3], gxfcmap.h [1.2], gxfont1.h [1.2]:
2000/03/20 19:53:06 lpd)

Changes a few initializations to suppress warnings from one picky compiler
that doesn't like ptr = buf - 1 where buf is an array. (gxclpath.c [1.2]:
2000/03/28 02:01:34 lpd)

Changes the get_outline / glyph_data procedure for getting encoded font
outline data to return an indication of whether the outline data were just
allocated and can be freed by the client. (This is a possibly
non-backward-compatible change.) (gxfcid.h [1.2], gxfont42.h [1.3]:
2000/03/28 18:47:02 lpd)

Changes the procs structure of gs_type1_data to an in-line structure rather
than a pointer to a const structure. (Needed for moving CIDFontType 0
support into C.) (gstype1.c [1.4], gstype2.c [1.3], gxfont1.h [1.3],
gxtype1.c [1.3]: 2000/03/29 22:10:31 lpd)

Finishes moving support for CIDFontType 0 fonts from PostScript to C.
(gxfcid.h [1.3]: 2000/03/31 04:55:18 lpd)

Finishes implementing the ability to write CIDFontType 0 CFFs. This involved
a surprising number of changes in other font-related files. (gsfcid.c [1.2],
gxfcid.h [1.4]: 2000/04/02 07:38:46 lpd)

<hr>

<h1><a name="Version6.01"></a>Version 6.01 (2000-03-17)</h1>

This is a bug-fix release for 6.0.

This release fixes the following reported bugs: #101555, #101813, #101816,
#101818, #101827, #101830, #101871, #101853, #101906, #101949, #101950,
#102003, #102004, #102038, #102081, #102936.

<h2><a name="6.01_Incompatible_changes"></a>Incompatible changes</h2>

(Platforms)
	- OpenVMS using VAX C is no longer supported.  (OpenVMS with DEC C
and gcc are still supported.)
(Drivers)
	- The third argument of psdf_set_color is changed from const char *
to const psdf_set_color_commands_t *.
(Interpreter)
	- The non-standard feature of writing dictionaries in binary object
output is now disabled by default, but can now be enabled dynamically.
(Library)
	- The definition of TRANSPARENCY_PER_H_P is moved from gdevmrop.h to
gsropt.h.
	- The handling of the source opaque, texture transparent case of
RasterOp when TRANSPARENCY_PER_H_P is defined is changed slightly.


<h2><a name="6.01 Documentation"></a>Documentation</h2><pre>

Fixes problems:
	- Fixes a typo. (man/ps2pdf.1 [1.2]: 2000/03/10 03:11:06 lpd)
	- When converting PostScript to PDF, selecting /Bicubic as an image
DownsampleType caused an error instead of defaulting to /Average.
(doc/Ps2pdf.htm [1.2]: 2000/03/10 04:16:09 lpd)
	- The gs###src.zip and gs###lib.zip files weren't mentioned as being
included in distributions; News.htm and Changes.htm weren't mentioned at
all. (doc/Release.htm [1.5]: 2000/03/15 07:23:52 lpd)
	- Fixes a problem producing too much black in the output; also adds
support for 5 new printers (H-P Color DeskJet 690, H-P DesignJet 750, and
Epson Stylus Color 200). Note that this is user-contributed code.
(doc/Devices.htm [1.2]: 2000/03/16 02:01:36 lpd)

In ansi2knr, adds user-contributed support for concatenated string literals
and character constants, and fixes for a couple of minor bugs.
(man/ansi2knr.1 [1.2]: 2000/03/10 03:16:17 lpd)

Removes an inappropriate copying notice. (doc/Hershey.htm [1.2]: 2000/03/10
07:03:57 lpd)

Clarifies when xdpyinfo and xwininfo are needed. Adds privacy options for
problem reports. (doc/Bug-form.htm [1.2]: 2000/03/10 07:06:08 lpd)

Adds a new eps2eps utility analogous to ps2ps. (man/eps2eps.1 [1.1],
man/ps2ps.1 [1.2]: 2000/03/10 07:51:55 lpd)

Updates the documentation on making RPMs, which is no longer supported.
(doc/Install.htm [1.2], doc/Make.htm [1.2]: 2000/03/10 07:58:00 lpd)

Adds a recommendation to use gcc on SGI platforms. (doc/Make.htm [1.3]:
2000/03/10 07:59:53 lpd)

Updates documentation regarding Unix systems that do/don't use libpthread.
(doc/Make.htm [1.4]: 2000/03/10 08:01:35 lpd)

Removes support for VAX C, which DEC stopped supporting 9 (!) years ago.
(doc/Make.htm [1.5], doc/Use.htm [1.2]: 2000/03/10 08:02:59 lpd)

Updates the documentation for building Aladdin releases to reflect revised
procedures for the Windows executable, and a few other minor changes.
(doc/Release.htm [1.2]: 2000/03/10 15:55:39 lpd)

Adds the ability to compile on OS/2 with XFree86. (doc/Install.htm [1.3],
doc/Make.htm [1.6]: 2000/03/10 19:50:49 lpd)

Moves all history for versions 5.n into History5.htm; creates History6.htm
for versions 6.n; redefines News.htm as containing only news for the current
release; adds (a link to) Changes.htm for the mechanically generated change
log. (doc/History5.htm [1.2], doc/History6.htm [1.1], doc/News.htm [1.2],
doc/README [1.2], doc/Readme.htm [1.2]: 2000/03/14 06:14:43 lpd)

Partially updates the release procedure documentation to reflect the use of
SourceForge and CVS. (doc/Release.htm [1.3]: 2000/03/14 06:39:23 lpd)

Adds a change log generated mechanically from the CVS logs. Future releases
may omit this file (doc/Changes.htm) from their change log.
(doc/Changes.htm [1.1], doc/News.htm [1.3]: 2000/03/14 06:48:44 lpd)

Revises the release procedures to reflect use of SourceForge, and to
separate out the procedures for building Windows executables.
(doc/Release.htm [1.4]: 2000/03/15 02:24:58 lpd)

Adds information on uninstalling Ghostscript on Windows.
(doc/Install.htm [1.4]: 2000/03/15 07:29:53 lpd)

Adds the ability to set the ProcessColorModel of the pdfwrite device to
/DeviceGray, /DeviceRGB, or /DeviceCMYK. This affects the color space used
for fill, stroke, text, and imagemask, and for images that (for whatever
reason) can't be written in their specified color space. Note that this is a
short-term fix: pdfwrite should output colors in the color space in which
they were specified. However, a proper fix will require more significant
architectural changes. (doc/News.htm [1.4]: 2000/03/16 01:21:23 lpd)

Adds a reference to a third-party Fontmap for the Computer Modern fonts.
(doc/Fonts.htm [1.2]: 2000/03/16 04:05:07 lpd)

Adds documentation and a makefile entry for Matthew Gelhaus' cdj880 driver.
The code will eventually be included in gdevcd8.c, but it is not yet mature
enough. (doc/Devices.htm [1.3]: 2000/03/16 08:09:42 lpd)

Updates the version number reference in the troff header.
(man/ps2pdf.1 [1.3], man/ps2ps.1 [1.3]: 2000/03/17 00:47:08 lpd)

Removes the attempted documentation on building Windows executable
distributions: it was never correct, and Aladdin will no longer be creating
such distributions. Also reorganizes the document slightly and brings the
rest of it fully into line with reality. (doc/Release.htm [1.6]: 2000/03/17
04:40:47 lpd)

Adds information on building with the Intel C/C++ optimizing compiler
(requires the Microsoft Visual C++ environment), and fixes a typo in the
link to ftp.cdrom.com. (doc/Make.htm [1.7]: 2000/03/17 17:42:59 lpd)

Checks in the first wrap-up for the 6.01 release. (doc/Changes.htm [1.2],
doc/History6.htm [1.2], doc/News.htm [1.5]: 2000/03/18 04:13:40 lpd)

</pre><h2><a name="6.01 Procedures"></a>Procedures</h2><pre>

Fixes problems:
	- The terminating $ on the $Id: line in gsmalloc.c was missing, and
dwuninst.rc lacked a $Id: line. (dwuninst.rc [1.2]: 2000/03/10 03:44:33 lpd)
	- The %ram% IODevice was defined, but should not be (it represents a
RAM-based file system, which Ghostscript does not provide). Fix: The type of
the %null% IODevice was /FileSystem rather than /Special. (int.mak [1.2]:
2000/03/10 07:02:07 lpd)
	- The dependency list for coslwxl omitted a $(DD).
(contrib.mak [1.2]: 2000/03/10 07:30:54 lpd)
	- The makefile still referred to a long-gone driver for the DEC
LA70. (contrib.mak [1.3]: 2000/03/10 07:32:43 lpd)
	- The Unix install process tried to make links without deleting them
first. (unixinst.mak [1.2]: 2000/03/10 07:49:21 lpd)
	- The Watcom compiler switches didn't force enums to occupy a full
int, leading to execution errors because the code casts (enum *) pointers to
(int *). (wccommon.mak [1.2]: 2000/03/10 08:15:31 lpd)
	- The Windows zip archive didn't include font metrics files. (This
change only fixes the build procedure: it doesn't actually update the
currently released zip archive.) (winint.mak [1.2]: 2000/03/10 08:17:06 lpd)
	- the "all architectures" build and test script hadn't been updated
to use different STDLIBS values depending on where the platform provides the
pthreads library. (all-arch.mak [1.2]: 2000/03/10 15:40:43 lpd)
	- The documentation for building with pthreads on FreeBSD hadn't
been updated. (unix-gcc.mak [1.2], unixansi.mak [1.2], unixtrad.mak [1.2]:
2000/03/10 15:44:01 lpd)
	- gsmalloc.c didn't include the prototype for gs_exit(), which it
calls. (lib.mak [1.2]: 2000/03/10 15:53:08 lpd)

Because of rampant confusion, disagreement, and lack of standardization,
removes the RPM-related spec and patch files. (gs-fonts.rps [1.2],
gs.rps [1.2], rpm-conf.dif [1.2]: 2000/03/10 03:22:04 lpd)

Increases the stack size for the PC platforms, since a user had reported
that the OS/2 stack size was too small. (dw32c.def [1.2],
dwmain32.def [1.2], gsos2.def [1.2]: 2000/03/10 03:33:21 lpd)

Updates the Brother HL7xx drivers with a new user-contributed version, plus
a couple of minor fixes. (contrib.mak [1.4]: 2000/03/10 07:33:44 lpd)

Adds a new eps2eps utility analogous to ps2ps. (unixinst.mak [1.3]:
2000/03/10 07:51:55 lpd)

Removes support for VAX C, which DEC stopped supporting 9 (!) years ago.
(openvms.mak [1.2], openvms.mmk [1.2]: 2000/03/10 08:02:59 lpd)

Updates all makefiles to the current libpng version, 1.0.5.
(bcwin32.mak [1.2], dvx-gcc.mak [1.2], msvc32.mak [1.2], msvclib.mak [1.2],
os2.mak [1.2], ugcclib.mak [1.2], unix-gcc.mak [1.3], unixansi.mak [1.3],
unixtrad.mak [1.3], watc.mak [1.2], watclib.mak [1.2], watcw32.mak [1.2]:
2000/03/10 15:48:58 lpd)

Updates the version # to 6.01, and the version date. (version.mak [1.2]:
2000/03/10 17:18:29 lpd)

Adds the ability to compile on OS/2 with XFree86. (os2.mak [1.3]: 2000/03/10
19:50:49 lpd)

Moves all history for versions 5.n into History5.htm; creates History6.htm
for versions 6.n; redefines News.htm as containing only news for the current
release; adds (a link to) Changes.htm for the mechanically generated change
log. (unixinst.mak [1.4], version.mak [1.3]: 2000/03/14 06:14:44 lpd)

Adds entries for ibm-rs6000-aix-4.3, sgi-mips-irix6.5-64bit, and
sun-sparc-solaris-64bit. (all-arch.mak [1.3]: 2000/03/15 18:38:29 lpd)

Adds the ability to set the ProcessColorModel of the pdfwrite device to
/DeviceGray, /DeviceRGB, or /DeviceCMYK. This affects the color space used
for fill, stroke, text, and imagemask, and for images that (for whatever
reason) can't be written in their specified color space. Note that this is a
short-term fix: pdfwrite should output colors in the color space in which
they were specified. However, a proper fix will require more significant
architectural changes. (version.mak [1.4]: 2000/03/16 01:21:24 lpd)

Adds documentation and a makefile entry for Matthew Gelhaus' cdj880 driver.
The code will eventually be included in gdevcd8.c, but it is not yet mature
enough. (contrib.mak [1.5]: 2000/03/16 08:09:42 lpd)

Adds a missing dependency of gdevpdft.o on gxfont42.h. (devs.mak [1.2]:
2000/03/17 02:59:26 lpd)

Adds a disclaimer of responsibility for the makefile section for creating
distribution archives, which Aladdin is no longer maintaining.
(winint.mak [1.3]: 2000/03/17 03:01:58 lpd)

Checks in the first wrap-up for the 6.01 release. (unix-gcc.mak [1.4],
version.mak [1.5]: 2000/03/18 04:13:40 lpd)

</pre><h2><a name="6.01 Utilities"></a>Utilities</h2><pre>

Fixes problems:
	- The loader for the stochastic halftone incorrectly assumed that
the resource file left the resource on the stack, causing a stackunderflow
error. (lib/stocht.ps [1.2]: 2000/03/10 03:34:44 lpd)
	- The ps2pdf*.bat scripts didn't set PS2PDFSW to the empty string if
there were no arguments, causing the same file to be processed again.
(lib/ps2pdf12.bat [1.2], lib/ps2pdf13.bat [1.2]: 2000/03/10 07:40:00 lpd)
	- Fixes a typo in the fix for putting stdout in binary mode.
(gp_ntfs.c [1.3]: 2000/03/18 01:15:16 lpd)
	- For printer devices, a non-null definition for OutputFile was
required even on platforms that had a default printer (as implemented by
gp_open_printer for that platform). (gp_os9.c [1.2], gp_unix.c [1.2],
gp_vms.c [1.2]: 2000/03/18 01:45:16